The API is no longer being updated here until further notice. |
<ResizeBounds> (child of <Frame>) limits resizing with <minResize> and <maxResize> child tags that inherit from <Dimension>.
<ResizeBounds> <minResize /> <maxResize /> </ResizeBounds>
Child elements[]
<minResize> (inherits from <Dimension>) defines the minimum width and height.
<maxResize> (inherits from <Dimension>) defines the maximum width and height.
<Dimension> defines a dimension (size, offset, etc.) as x and y, or with a child element to specify the coordinate system.
- x (xs:int? ) - Horizontal distance affected by UI scaling; (+) right and (-) left.
- y (xs:int? ) - Vertical distance affected by UI scaling; (+) up and (-) down.
<AbsDimension> defines coordinates in scaling-dependent units (same as <Dimension>).
- x (xs:int) - Horizontal distance affected by UI scaling; (+) right and (-) left.
- y (xs:int) - Vertical distance affected by UI scaling; (+) up and (-) down.
<RelDimension> defines coordinates relative to the entire screen, where 0 and 1 are the edges.
- x (xs:float) - Ratio of screen width, from left to right edges.
- y (xs:float) - Ratio of screen height, from bottom to top edges.
Details[]
- Using the same width, or same height, in both child elements will prevent resizing in that particular direction.