|
MoSync 3.2.1
|
Defines | |
| #define | MAW_VERTICAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT "childVerticalAlignment" |
| Sets how the children in the layout should be aligned in the vertical axis. | |
| #define | MAW_VERTICAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT "childHorizontalAlignment" |
| Sets how the children in the layout should be aligned in the horizontal axis. | |
| #define | MAW_VERTICAL_LAYOUT_PADDING_TOP "paddingTop" |
| Sets the top padding. | |
| #define | MAW_VERTICAL_LAYOUT_PADDING_LEFT "paddingLeft" |
| Sets the left padding. | |
| #define | MAW_VERTICAL_LAYOUT_PADDING_RIGHT "paddingRight" |
| Sets the right padding. | |
| #define | MAW_VERTICAL_LAYOUT_PADDING_BOTTOM "paddingBottom" |
| Sets the bottom padding. | |
| #define | MAW_VERTICAL_LAYOUT_SCROLLABLE "scrollable" |
| Sets the isScrollable boolean. | |
The available widget properties for a MAW_VERTICAL_LAYOUT. See Widget properties for more properties.
| #define MAW_VERTICAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT "childVerticalAlignment" |
Sets how the children in the layout should be aligned in the vertical axis.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT, MAW_ALIGNMENT_CENTER);
| #define MAW_VERTICAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT "childHorizontalAlignment" |
Sets how the children in the layout should be aligned in the horizontal axis.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT, MAW_ALIGNMENT_CENTER);
| #define MAW_VERTICAL_LAYOUT_PADDING_TOP "paddingTop" |
Sets the top padding.
// Set a 50px top padding. maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_PADDING_TOP, "50");
| #define MAW_VERTICAL_LAYOUT_PADDING_LEFT "paddingLeft" |
Sets the left padding.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_PADDING_LEFT, "50");
| #define MAW_VERTICAL_LAYOUT_PADDING_RIGHT "paddingRight" |
Sets the right padding.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_PADDING_RIGHT, "50");
| #define MAW_VERTICAL_LAYOUT_PADDING_BOTTOM "paddingBottom" |
Sets the bottom padding.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_PADDING_BOTTOM, "50");
| #define MAW_VERTICAL_LAYOUT_SCROLLABLE "scrollable" |
Sets the isScrollable boolean.
maWidgetSetProperty(verticalLayoutHandle, MAW_VERTICAL_LAYOUT_SCROLLABLE, "true");