Dimension elements
- Last UpdatedJul 26, 2024
- 1 minute read
The dimension element contains elements to specify the coordinates of the upper left corner of an object on the screen. The dimension element also includes elements to specify the width and height of a rectangular object.
In WindowMaker, the coordinate limits are -32000 to +32000 in both the vertical and horizontal directions. If you specify a combination of X and Y location with width or height values that place the calculated coordinates outside of a (-32000, -32000, 32000, 32000) boundary, a warning appears and the values are clamped to the maximum values. Height and width values should be positive.
You use the following elements within a dimension element to specify an area on the screen.
|
Elements |
Description |
|---|---|
|
Left |
Left edge coordinate. Required. |
|
Top |
Top edge coordinate. Required. |
|
Width |
Width in pixels. |
|
Height |
Height in pixels. |
Example:
<Dimension>
<Left>4</Left>
<Top>4</Top>
<Width>632</Width>
<Height>278</Height>
</Dimension>