Positioned - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
<POSITIONED/> : ViewableWidget
The <POSITIONED/>, <POSITION/> or <POS/> widget is used to orient its children within the parent <STACK/>. Multiple widgets can be positioned within a stack and overlap according to the phsyical order specified with the parent or by using the depth="n" attribute.
- Must be a direct child of the parent
<STACK/>.
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| top | int | null | The number of pixels from the top of the STACK
|
|
| left | int | null | The number of pixels from the left of the STACK
|
|
| right | int | null | The number of pixels from the right of the STACK
|
|
| bottom | int | null | The number of pixels from the bottom of the STACK
|
|
| xoffset | int | null | The x-offset in pixels from the center of the STACK
|
|
| yoffset | int | null | The y-offset in pixels from the center of the STACK
|
|
| depth | int | null | Override the render order of the widget in the stack. | |
| draggable | bool | false | When specified, the child can be repositioned by dragging the content. To access the coordinates and size, refer to bindables viewx, viewy, viewwidth and viewheight
|
a
depth="2"will render before adepth="3"regardless of the order in the template effectively layering the widget withdepth="3"overtop.