Name | Type | Default | Description |
---|---|---|---|
width |
number | LayoutOptions.WRAP_CONTENT | optional |
height |
number | LayoutOptions.WRAP_CONTENT | optional |
Members
-
Preferred height of the widget in pixels. If its value is between -1 and 1, it is interpreted as a percentage of the parent's height.
- Default Value:
- {PUXI.LayoutOptions.WRAP_CONTENT}
-
The bottom margin in pixels of the widget.
- Default Value:
- 0
-
The left margin in pixels of the widget.
- Default Value:
- 0
-
The right margin in pixels of the widget.
- Default Value:
- 0
-
This top margin in pixels of the widget.
- Default Value:
- 0
-
Preferred width of the widget in pixels. If its value is between -1 and 1, it is interpreted as a percentage of the parent's width.
- Default Value:
- {PUXI.LayoutOptions.WRAP_CONTENT}