TabBase.setSizeMode

Overview | Methods | This Package | All Packages

TabBase.setSizeMode

Sets a value indicating whether the size of each tab in this control is adjusted to what is displayed on the tab, whether the sizes of the tabs are adjusted so that each row of tabs fills the entire width of this control, or whether all tabs are assigned the same, fixed width.

Syntax

public final void setSizeMode( int value )

Parameters

value

An integer that indicates how tabs in this control are sized. Possible values are constants defined in the TabSizeMode class. The default value is TabSizeMode.NORMAL (tab sizes are determined by the size of what is displayed on each tab).

Exceptions

WFCInvalidArgumentException thrown if the specified value is not a valid TabSizeMode constant.

Remarks

If the sizeMode property of a control is set to TabSizeMode.FIXED, the size of the tabs is determined by the itemSize property.

See Also    getSizeMode