UB1CommonTabContainerWidget
Overview
- Common tab container widget. Setting the tab class, count, spacing, direction, and String ID in the editor properties immediately regenerates the tabs at SynchronizeProperties time, allowing preview in the WBP.
Metadata
| Field | Value |
|---|---|
| Kind | class |
| Environment | B1 - Presentation |
| Category | classes |
| Extends | UB1UserWidgetBase |
Properties (14)
| Name | Type | Description |
|---|---|---|
BW_HorizontalBox | any | |
BW_Overlay | any | |
BW_VerticalBox | any | |
BW_Widget_Bg | any | |
CurrentTab | any | |
TabCount | integer | Number of tabs to create. |
TabDirection | any | Tab layout direction. |
TabEntries | any[] | |
TabEntryClass | UB1CommonTabEntryWidget | Tab entry widget class (specify a WBP inheriting UB1CommonTabEntryWidget). |
TabHorizontalAlignment | any | Horizontal placement of the tab group for horizontal tabs (Fill = evenly divided, Left/Center/Right = gathered at that position). |
TabSpacing | number | Spacing between tabs (px). |
TabTexts | string[] | Display text of each tab (can reference a String Table via the flag icon; size auto-adjusts to TabCount). |
TabVerticalAlignment | any | Vertical placement of the tab group for vertical tabs (Fill = evenly divided, Top/Center/Bottom = gathered at that position). |
bUseBackground | boolean | Whether to use a background. |