1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,052
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default [RC3] tabs with iconCls with icons at 16px cut off?

    [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:
    http://www.iconarchive.com/show/fugue-icons-by-yusuke-kamiyamane/marker-icon.html

    I
    f you need screenshots or anything let me know.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    873
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you inspected the DOM to see if the size is not set correctly?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,052
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    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.

  4. #4
    Ext JS Premium Member
    Join Date
    Dec 2009
    Posts
    65
    Vote Rating
    3
    oklymenko is on a distinguished road

      0  

    Default


    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.

  5. #5
    Ext JS Premium Member Sébastien.Volle's Avatar
    Join Date
    Apr 2011
    Location
    Grenoble, France
    Posts
    70
    Vote Rating
    0
    Sébastien.Volle is on a distinguished road

      0  

    Default


    Quote Originally Posted by slemmon View Post
    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.
    This fix works also on Chrome, thanks.
    aka Seboss