ANCHOR Attribute
- Last UpdatedFeb 08, 2023
- 1 minute read
The ANCHOR attribute allows you to control the position of an edge of the gadget relative to the corresponding edge of its container.
For example ANCHOR RIGHT specifies that the right hand edge of the gadget will maintain a fixed distance from the right hand edge of its owning container.
The ANCHOR attribute may have any combination of the values LEFT, RIGHT, TOP, or BOTTOM; or it may have the values NONE or ALL. When the container is resized, the fixed distance is maintained for any anchored edges.