PDA

View Full Version : How to fit the titles of a tab panel ?



Elfayer
14 Aug 2012, 2:06 AM
Hi,

I have a tabpanel with 3 titles (so 3 tokens). I would like them to be 1/3 of the width of the window (I know the width of the window). I just didn't find the config to do it.

37926

sword-it
14 Aug 2012, 2:32 AM
Hi,

You can use following config with your tabpanel:




minTabWidth:100 // use minTabWidth config to tabpanel



For more detail you can see this link:http:// http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-cfg-minTabWidth