-
6 Oct 2011 4:41 AM #1
How to fix 16x16 icons clipped in tabpanel?
How to fix 16x16 icons clipped in tabpanel?
It appears that standard 16x16 icons get clipped in the tabs of a default tabpanel. Even the Sencha advanced tabs example exhibits that behavior:
IbH8X.png
What is the preferred method to increase the height of the tabs in the tab bar so the entire icon will be displayed?
-
6 Oct 2011 5:17 AM #2
i've fixed it with this css snippet:
Code:.x-tab-default-top button, .x-tab-default-top .x-tab-inner { height: 16px !important; }
-
6 Oct 2011 5:23 AM #3
i've fixed it with this css snippet:
Thank you, that works perfectly!
-
6 Oct 2011 6:14 AM #4
Best Regards,
Ramzi Youssef
MEDIACEPT Technology
-
6 Oct 2011 7:21 AM #5UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
6 Oct 2011 8:06 AM #6
Just puted it in an extra css file called after the ext-xxx..css
Best Regards,
Ramzi Youssef
MEDIACEPT Technology
-
9 Oct 2011 1:31 AM #7Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
We'll get this fixed in the theme, should be in 4.1
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
1 Dec 2011 8:58 AM #8
Interestingly I see the opposite in FF8 on my app - the icon is clipped at the top and the CSS work-around does not help as shown in this picture, where the top pixels are missing:
clipped icon.PNG
Tested in 4.0.7 and 4.1-PR1 with same result.


Reply With Quote
