Constant | Meaning | |
anNone | The control should do nothing when the parent changes size. |
anAll | The control will maintain the same distance to the top, bottom, left and right edges of the parent. This will result in the control's height changing when the parent's does, and its width changing when its parent's does. |
anBottomLeft | The control will maintain the same distance to the bottom and left edges. This will result in the control moving when the parent is resized. |
anBottomLeftRight | The control will maintain the same distance to the bottom, left and right edges of the parent. This will result in the control getting wider when the width of the parent is changed and the control moving vertically when the parent's height is changed. |
anBottomRight | The control will maintain the same distance to the bottom and right edges of the parent. This will result in the control moving vertically and horizontally when the width and height of the parent is changed. |
anTopBottomLeft | The control will maintain the same distance to the top, bottom and left edges of the parent. This will result in the control changing its height when the parent is resized. |
anTopBottomRight | The control will maintain the same distance to the top, bottom and right edges of the parent. This will result in the control's height changing and the control moving horizontally when the height and width of the parent is changed. |
anTopLeftRight | The control will maintain the same distance to the top, left and right edges of the parent. This will result in the control getting wider when the width of the parent is changed. |
anTopRight | The control will maintain the same distance to the top and right edges of the parent. This will result in the control moving horizontally when the width of the parent is changed. |
|
Constant | Meaning | Studio Equivalent |
---|
anBottom | The control will maintain the same distance from the bottom edge of the parent. The control will move vertically when its parent's height is changed. | anBottomLeft |
anLeft | The control will maintain the same distance from the left edge of the parent. The control will not move or resize itself. | anNone |
anLeftRight | The control will maintain the same distance to the left and right edges of the parent. This will result in the control getting wider when the width of the parent is changed. | anTopLeftRight |
anRight | The control will maintain the same distance to the right edge of the parent. This will result in the control moving horizontally when the width of the parent is changed. | anTopRight |
anTop | The control will maintain the same distance from the top edge of the parent. The control will not move or resize itself. | anNone |
anTopBottom | The control will maintain the same distance from the top and bottom edges of the parent. The control's height will change when its parent's height is changed. | anTopBottomLeft |
anTopLeft | The control will maintain the same distance from the left and top edges of the parent. The control will not move or resize itself. | anNone |