mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-17 12:10:42 +00:00
Add CPViewAutoresizingMasks to the documentation.
This commit is contained in:
1 parent
0b81dd718c
commit
3dd3a8733b
1 file changed
+35
-1
+35
-1
@@ -37,13 +37,47 @@ import "CPGraphicsContext.j"
|
||||
#include "CoreGraphics/CGGeometry.h"
|
||||
#include "Platform/DOM/CPDOMDisplayServer.h"
|
||||
|
||||
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
The default resizingMask, the view will not resize or reposition itself.
|
||||
*/
|
||||
CPViewNotSizable = 0;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
Allow for flexible space on the left hand side of the view.
|
||||
*/
|
||||
CPViewMinXMargin = 1;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
The view should grow and shrink horizontally with its parent view.
|
||||
*/
|
||||
CPViewWidthSizable = 2;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
Allow for flexible space to the right hand side of the view.
|
||||
*/
|
||||
CPViewMaxXMargin = 4;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
Allow for flexible space above the view.
|
||||
*/
|
||||
CPViewMinYMargin = 8;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
The view should grow and shrink vertically with its parent view.
|
||||
*/
|
||||
CPViewHeightSizable = 16;
|
||||
/*
|
||||
@global
|
||||
@group CPViewAutoresizingMasks
|
||||
Allow for flexible space below the view.
|
||||
*/
|
||||
CPViewMaxYMargin = 32;
|
||||
|
||||
CPViewBoundsDidChangeNotification = @"CPViewBoundsDidChangeNotification";
|
||||
|
||||
Reference in new issue
Block a user