-
4 Nov 2011 6:45 AM #1
Answered: How to alter tab height
Answered: How to alter tab height
Hi,
I'm trying to add an icon to my tab panel tabs using the iconCls config param. As you can see in the screen shot the tab's height is not large enough and the icon gets cropped.
How can I increase the height of the tab?
Regards
Ben
-
Best Answer Posted by benshort
Seems that this is a bug. More details bellow.
http://www.sencha.com/forum/showthre...Cls-height-bug
-
4 Nov 2011 6:56 AM #2Ext JS Premium Member
- Join Date
- Apr 2008
- Location
- Groningen - Netherlands
- Posts
- 1,017
- Vote Rating
- 23
- Answers
- 75
Maybe you can specify it in your tab config like this,
you put that config on your panel that is added to the tab. You can also set your icon overthere.Code:tabConfig: { title: 'Custom Title', tooltip: 'A button tooltip', height: 50 }
-
4 Nov 2011 7:35 AM #3
Adding that config results in the tab becoming higher but the tab bar's height stays the same.
-
4 Nov 2011 7:40 AM #4Ext JS Premium Member
- Join Date
- Apr 2008
- Location
- Groningen - Netherlands
- Posts
- 1,017
- Vote Rating
- 23
- Answers
- 75
ah fun!... add this to your tabpanels config then
tabBar: {
height: 75
}
the tabConfig is not needed anymore I think.
-
6 Nov 2011 11:00 AM #5
-
6 Nov 2011 11:28 AM #6
Seems that this is a bug. More details bellow.
http://www.sencha.com/forum/showthre...Cls-height-bug


Reply With Quote