tabAutoWidth
Optional. Defines whether the width of tabs is automatically adjusted to the width of the tabbar container
tabAutoWidth?: boolean;
Example
const tabbar = new dhx.Tabbar("tabbar_container", {
views:[
{ tab: "left", css:"panel flex", header:"Left"},
{ tab: "west", css:"panel flex", header:"West"},
{ tab: "east", css:"panel flex", header:"East"},
{ tab: "right", css:"panel flex", header:"Right" }
],
tabAutoWidth: true,
mode: "bottom"
});
note
The property takes effect when mode is set to "top" or "bottom", and is ignored in the "left" and "right" modes.
Related sample: Tabbar. Tab auto width
Related article: Autosize for tabs
Change log:
added in v7.0