Elements

TabList

A horizontal container specifically designed for organizing TabItem elements. Automatically applies first/last styling to appropriate tabs.

Constructor

new TabList(
    new TabItem(new Label("Tab 1")),
    new TabItem(new Label("Tab 2")),
    new TabItem(new Label("Tab 3"))
);

Properties

TabList inherits all properties from HorizontalGroup, Group, and BaseElement.

Automatic Styling

TabList automatically:

  • Applies tab-list CSS class
  • Marks the first TabItem with first class
  • Marks the last TabItem with last class

Methods

TabList inherits all methods from HorizontalGroup, Group, and BaseElement.