Skip to content

TabAlignment

TabAlignment #

Bases: Enum

Defines how tabs are aligned horizontally in a Tabs.

CENTER = 'center' #

Tabs are aligned to the center of the TabBar.

FILL = 'fill' #

If TabBar.scrollable is False, tabs are stretched to fill the TabBar.

START = 'start' #

If TabBar.scrollable is True, tabs are aligned to the start of the TabBar.

START_OFFSET = 'startOffset' #

If TabBar.scrollable is True, tabs are aligned to the start of the TabBar with an offset of 52.0 pixels.