SetAlignment
This function is used to control how a widget scales when its parent is resized.
Syntax
- SetAlignment(boolean left, boolean right, boolean top, boolean bottom)
Parameters
- left: if set to true the left edge moves with the parent, otherwise it stays in place.
- right: if set to true the right edge moves with the parent, otherwise it stays in place.
- top: if set to true the top edge moves with the parent, otherwise it stays in place.
- bottom: if set to true the bottom edge moves with the parent, otherwise it stays in place.