Hello all!
Can setInitWidthsP that I use in grids translate to tabbar.setInitWidthsP?
I want the tabs in my tab-bar(s) to have variable widths.
Thanks!
-Eric-
Hello all!
Can setInitWidthsP that I use in grids translate to tabbar.setInitWidthsP?
I want the tabs in my tab-bar(s) to have variable widths.
Thanks!
-Eric-
Hi
just do not specify any width while adding tab, 3rd param, leave blank or null
docs.dhtmlx.com/api__dhtmlxtabbar_addtab.html
Hello!
Thanks for the attempt!
Here’s what I got, and It includes what you are talking about;
myTabbar.addTab(“a1”, “Properties”, null, null, true);
I have 4 tabs and they are all small and on the left-most-area of the screen. They only take up 1/3 of the width of the entire screen.
I want the tabs evenly spread-out, taking up 100% of the width of the screen, with each of 4 tabs taking up 25% of the screens FULL width. The text will be small in the middle of each tab, with MUCH space on either side of the text/title of the tab… MUCH like the ‘myGrid2.setInitWidthsP’ function for columns in a grid.
I assume the auto-width is related to the size-of-the-text in the tab-title, rather than the spacing of the screen or div.
Thanks though!
not there yet
-Eric-
Hi
please try attached
do not forget to change paths to dhtmlx js/css in section
demo.html.zip (826 Bytes)