Specifies an item's size. It does not include external labels, borders, or scroll bars. These are part of the bounding box size which is calculated automatically.
Examples of item size are the input area in a field item or the height and width of the label in label and button items.
<size>
<width>width</width>
<height>height</height>
</size>
Parameter | Type | Description |
---|---|---|
width | unsigned byte | the horizontal dimension of the item, measured in characters |
height | unsigned byte | the vertical dimension of the item, measured in lines |
box, button, check, combobox, field, label, line, list, popup, radio, richtext, slider, spacer
This sample sets the item's size to 80 characters wide by five lines high.
<size>
<width>80</width>
<height>5</height>
</size>