13 Apr 2012 1:13 PM #1
[RC3] tabs with iconCls with icons at 16px cut off?
Is anyone seeing where in tabs with an iconCls with a 16x16 icon is cut off on the top? Laterally seems to be ok, but cuts the top row of pixels off.
Seeing this in FF9 and IE8.
Here's an icon to test with:
If you need screenshots or anything let me know.
16 Apr 2012 8:27 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have you inspected the DOM to see if the size is not set correctly?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
16 Apr 2012 8:49 AM #3
The closest I'd say I've come to fixing it is changing
.x-tab-icon from background-position: 0 -1px;
to background-position: 0 0;
and adding to .x-tab-icon margin-top: -1px;
Tested in FF9.
16 Apr 2012 9:58 AM #4
I am seeing the same problem in every browser I've tried (IE, FF, Chrome, Safari, Opera). The 16x16 icon in the tab header gets cut off at the top. I think a similar problem was fixed in RC2 (EXTJSIV-5448) but apparently there's still an issue.
18 Apr 2012 6:24 AM #5