Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > Strut Element |
Group membership: Controls
Struts are fixed width or height (or both) controls which are invisible, but use a fixed amount of space. These can be used to separate groups of controls.
One of width or height must be present, or a parsing exception will occur.
Name | Type | Required | Description |
---|---|---|---|
height | CDATA | No |
Defines the height of this strut object. The height is in pixels. |
width | CDATA | No |
Defines the width of this strut object. The width is in pixels. |
… <button id="okButton"/> <!-- Add two pixels of space between the ok and cancel buttons --> <strut width="2"/> <button id="cancelButton"/> …
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |