ANCHOR
Constants Summarized
Type | Name | Summary |
---|---|---|
Constant to be used when specifying anchoring for components. | ||
Constant to be used when specifying anchoring for components. | ||
Constant to be used when specifying anchoring for components. | ||
Constant to be used when specifying anchoring for components. | ||
Constant to be used when specifying anchoring for components. | ||
Constant to be used when specifying anchoring for components. |
Constants Detailed
ALL
Constant to be used when specifying anchoring for components. Makes the component anchored on all sides. This means that the component will keep a constant distance from all sides of the window and will grow/shrink as the window is resized.
Type Number
Sample
DEFAULT
Constant to be used when specifying anchoring for components. It is equivalent to a combination of NORTH and WEST anchoring.
Type Number
Sample
EAST
Constant to be used when specifying anchoring for components. Makes the component anchored to the right side of the window, which means that the component will keep a constant distance from the right side of the window. If WEST anchoring is also enabled, then the component will grow/shrink as the window is horizontally resized.
This constant is used also for setting tab orientation on tab panels.
Type Number
Sample
NORTH
Constant to be used when specifying anchoring for components. Makes the component anchored to the top side of the window, which means that the component will keep a constant distance from the top side of the window. If SOUTH anchoring is also enabled, then the component will grow/shrink as the window is vertically resized.
This constant is used also for setting tab orientation on tab panels.
Type Number
Sample
SOUTH
Constant to be used when specifying anchoring for components. Makes the component anchored to the bottom side of the window, which means that the component will keep a constant distance from the bottom side of the window. If NORTH anchoring is also enabled, then the component will grow/shrink as the window is vertically resized.
This constant is used also for setting tab orientation on tab panels.
Type Number
Sample
WEST
Constant to be used when specifying anchoring for components. Makes the component anchored to the left side of the window, which means that the component will keep a constant distance from the left side of the window. If EAST anchoring is also enabled, then the component will grow/shrink as the window is vertically resized.
This constant is used also for setting tab orientation on tab panels.
Type Number
Sample
Last updated