TabAlignment
Inherits: Enum
Defines how tabs are aligned horizontally in a Tabs.
Properties
-
CENTER–Tabs are aligned to the center of the
TabBar. -
FILL–If
TabBar.scrollableisFalse, tabs are stretched to fill theTabBar. -
START–If
TabBar.scrollableisTrue, tabs are aligned to the start of theTabBar. -
START_OFFSET–If
TabBar.scrollableisTrue, tabs are aligned to the start of theTabBarwith an offset of52.0pixels.
Properties#
CENTER = 'center'
class-attribute
instance-attribute
#
Tabs are aligned to the center of the TabBar.
FILL = 'fill'
class-attribute
instance-attribute
#
If TabBar.scrollable is False, tabs are stretched to fill the TabBar.
START = 'start'
class-attribute
instance-attribute
#
If TabBar.scrollable is True, tabs are aligned to the start of the TabBar.
START_OFFSET = 'startOffset'
class-attribute
instance-attribute
#
If TabBar.scrollable is True, tabs are aligned to the start of the TabBar with an offset of 52.0 pixels.