|
MoSync 3.3
|
Defines | |
| #define | MAW_HORIZONTAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT "childVerticalAlignment" |
| Sets how the children in the layout should be aligned in the vertical axis. | |
| #define | MAW_HORIZONTAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT "childHorizontalAlignment" |
| Sets how the children in the layout should be aligned in the horizontal axis. | |
| #define | MAW_HORIZONTAL_LAYOUT_PADDING_TOP "paddingTop" |
| Sets the top padding. | |
| #define | MAW_HORIZONTAL_LAYOUT_PADDING_LEFT "paddingLeft" |
| Sets the left padding. | |
| #define | MAW_HORIZONTAL_LAYOUT_PADDING_RIGHT "paddingRight" |
| Sets the right padding. | |
| #define | MAW_HORIZONTAL_LAYOUT_PADDING_BOTTOM "paddingBottom" |
| Sets the bottom padding. | |
The available widget properties for a MAW_HORIZONTAL_LAYOUT. See Widget properties for more properties.
| #define MAW_HORIZONTAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT "childVerticalAlignment" |
Sets how the children in the layout should be aligned in the vertical axis.
maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_CHILD_VERTICAL_ALIGNMENT, MAW_ALIGNMENT_CENTER);
| #define MAW_HORIZONTAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT "childHorizontalAlignment" |
Sets how the children in the layout should be aligned in the horizontal axis.
maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_CHILD_HORIZONTAL_ALIGNMENT, MAW_ALIGNMENT_CENTER);
| #define MAW_HORIZONTAL_LAYOUT_PADDING_TOP "paddingTop" |
Sets the top padding.
// Set a 50px top padding. maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_PADDING_TOP, "50");
| #define MAW_HORIZONTAL_LAYOUT_PADDING_LEFT "paddingLeft" |
Sets the left padding.
maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_PADDING_LEFT, "50");
| #define MAW_HORIZONTAL_LAYOUT_PADDING_RIGHT "paddingRight" |
Sets the right padding.
maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_PADDING_RIGHT, "50");
| #define MAW_HORIZONTAL_LAYOUT_PADDING_BOTTOM "paddingBottom" |
Sets the bottom padding.
maWidgetSetProperty(horizontalLayoutHandle, MAW_HORIZONTAL_LAYOUT_PADDING_BOTTOM, "50");