Skip to main content

TabWidthBehavior

How wide the tabs of a TabView are.

Inherits: enum.Enum

Properties

  • COMPACT - The selected tab is as wide as its label, and the other tabs show only their icon.
  • EQUAL - All tabs have the same width, which shrinks as tabs are added.
  • SIZE_TO_CONTENT - Each tab is as wide as its label.

Properties​

COMPACTclass-attributeinstance-attribute​

The selected tab is as wide as its label, and the other tabs show only their icon.

EQUALclass-attributeinstance-attribute​

All tabs have the same width, which shrinks as tabs are added.

SIZE_TO_CONTENTclass-attributeinstance-attribute​

Each tab is as wide as its label.