Java Gui Builder
You are here: Home   >   Documentation   >   JGB Elements Documentation   >   Glue Element
JGB Element Navigation
tab
ref

Glue Element

Group membership: Controls

glue elements are controls which can expand or contract depending on the amount of space available.

Attributes

Name Type Required Description
orientation CDATA Yes

Determine the orientation of the glue control. Vertical glue controls expand and contract in the vertical dimension, whereas horizontal glue controls expand horizontally.

Literal values

Value Description
horizontal

Create a horizontal glue control.

vertical

Create a vertical glue control.

Example usage

…
<!-- Center a control in the enclosing container -->
<glue orientation="vertical"/>
<control id="…" …/>
<glue orientation="vertical"/>
…
        

Parent element(s)

controls, control, panel, tab.

Child element(s)

None
Back to top
SourceForge Logo
Hosted on SourceForge.net
Valid XHTML 1.0!
Valid XHTML 1.0 !
Valid CSS!
Valid CSS !
Code Coverage by Clover
Code Coverage provided by Clover
 |  Home |  License |  Downloads |  Documentation |  Developers |  Mailing Lists |  Dependencies |  Links |  Privacy Policy |  SF Project Home |