You found a bug! We've classified it as EXTJS-10998 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Sep 2012
    Vote Rating
    fedevegili is on a distinguished road


    Default Menu item icon doesn't resize

    Menu item icon doesn't resize


    Ext version tested:
    • Ext
    Browser versions tested against:
    • Chrome 28.0.1500.95 m
    • While updating from Ext 4.1.1 to Ext I noticed that menu item icons used to be rendered as a <img> but they've changed it to a <div> and set the img as a background-image. That's the css being applied to the icon:
    .x-menu-item-icon {
    width: 16px;
    height: 16px;
    top: 4px;
    left: 3px;
    background-position: center center; }

    The problem here is that background-images don't respect width and height attributes. I know that I could change the width and height to background-size but it would cause problem on multiple icon images and most versions of IE.

    Steps to reproduce the problem:
    • Just see test case.
    The result that was expected:
    • The icon being resized to 16x16.
    The result that occurs instead:
    • The icon doesn't get any resizing.
    Test Case:

    Just try this code in both versions:!/api/!/api/

    Ext.create('', {    width: 100,
        height: 50,
        floating: false,
        renderTo: Ext.getBody(),
        items: [{
            text: 'icon item',
            icon: '' /* 32x32 image */


    Possible fix:
    • Change the attribute tag back to image instead of div.
    Operating System:
    • Win7 64bits

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Vote Rating
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough



    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi