Class of vertical widget placement panel.
UIVBox([<o>],[<spacing>],[<padding>]) --> UIVBox object
ADD | Append widget to panel from right side. |
ADDEND | Append widget to panel from left side. |
SETALIGNMENT | Set alignment of widget on the panel. |
SETEQUALSIZE | Set equal cells size for any widget on the panel. |
SETPADDING | Set width of panel border. |
SETSPACING | Set space between widgets on the panel. |
UIVBOX | Constructor. Create vertical widget placement panel. |
box := UIVBox() box:add( UILabel( "Label" ) )
Andrey Cherepanov <<skull@eas.lrn.ru>>
No dependies of platform.
Append widget to panel from right side.
add(<o>,[<expand>],[<fill>],[<padding>])
Returns NIL.
Append widget to panel from left side.
addEnd(<o>,[<expand>],[<fill>],[<padding>])
Returns NIL.
Set alignment of widget on the panel.
setAlignment(<align>,<valign>)
<align> | - Number. Horizontal alignment of widget. Possible values: |
<itemizedlist mark="bullet"> | |
<listitem> | <para><constant>ALIGN_LEFT</constant> — aligns with the left edge (default)</para></listitem> |
<listitem> | <para><constant>ALIGN_CENTER</constant> — centers horizontally</para></listitem> |
<listitem> | <para><constant>ALIGN_RIGHT</constant> — aligns with the right edge</para></listitem> |
</itemizedlist> | |
<valign> | - Number. Vertical alignment of widget. Possible values: |
<itemizedlist mark="bullet"> | |
<listitem> | <para><constant>ALIGN_TOP</constant> — aligns with the top (default)</para></listitem> |
<listitem> | <para><constant>ALIGN_MIDDLE</constant> — centers vertically</para></listitem> |
<listitem> | <para><constant>ALIGN_BOTTOM</constant> — aligns with the bottom</para></listitem> |
</itemizedlist> |
Returns NIL.
Set equal cells size for any widget on the panel.
setEqualSize(<isEqual>)
Returns NIL.
Set width of panel border.
setPadding(<space>)
Returns NIL.
Set space between widgets on the panel.
setSpacing(<space>)
Returns NIL.
Constructor. Create vertical widget placement panel.
UIVBox([<o>],[<spacing>],[<padding>]) --> UIVBox object
Returns NIL.