Enumerations #
Name | Values |
---|---|
FontSizings | Height Width Minimum Maximum None |
Constants #
This class exposes no constants.
Events #
Name | Parameters | Return Type | Description |
---|---|---|---|
InitializingObject | instance as GraffitiLayoutObject | Boolean | Raised during the initialization process to allow for setting custom properties of the GraffitiLayoutObject. Return False to exclude from Layout resize operations. |
Resized | None | None | Raised when a resize has completed. |
Resizing | control as GraffitiLayoutObject | None | Raised for each object during resize operations. |
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Constructor | None | None | Instantiates a new object. |
Constructor | view as Object | None | Instantiates a new object controlling the specified view. |
ObjectFromContents | control as Object | GraffitiLayoutObject | Searches controlled GraffitiLayoutObjects for the instance that represents the value of the control parameter. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
BaseFontSize | Integer | 12 | Font size used in resize operations where a control’s font size is returned as the system default of 0. |
ConstainProportions | Boolean | False | When True, will attempt to resize the view and controls proportional to their initial state. |
ConstrainToContent | Boolean | False | When True, views will be constrained to the maximum size of their contents rather than based on their initial state. |
ContentMargin | Integer | 20 | Margin applied to outside edges of views. |
FontSizing | FontSizings | FontSizings.Height | Determines which criteria is used when calculating font sizes. Height will, most often, be the correct choice. |
View | Object | Nil | The view controlled by this instance. Once set, cannot be changed. Valid value types are DesktopContainer and DesktopWindow. |
Notes #
GraffitiLayoutGraffitiSuite #
Some GraffitiSuite controls require special operations to function properly in a view that is controlled by GraffitiLayout. When using GraffitiSuite controls on a view, the superclass of your GraffitiLayout object should be GraffitiLayoutGraffitiSuite for compatibility.