dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
88 stars 66 forks source link

Enhance Tab Container to support non fixed tab widths #1732

Closed agubler closed 3 years ago

agubler commented 3 years ago

Enhancement

At the moment the tab container renders the tabs with equal widths fixed using up the full width. This is a "fixed" mode, it would be useful to support a mode that renders the tab buttons that don't stretch across the full width of the tab container.

We could investigate introducing a new property to control this, such as fixed when true applies the current behaviour and false would render the tabs contained to their size (with a sensible min and max width).

Material Specs: https://material.io/components/tabs#specs