Skip to main content

tabAutoHeight

Optional. Defines whether the height of tabs is automatically adjusted to the height of the tabbar container

tabAutoHeight?: 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" }
],
tabAutoHeight: true,
mode: "right"
});
note

The property takes effect when mode is set to "left" or "right", and is ignored in the "top" and "bottom" modes.

Related sample: Tabbar. Tab auto height

Related article: Autosize for tabs

Change log:

added in v7.0