1. #1
    Sencha User
    Join Date
    Apr 2009
    Location
    France
    Posts
    50
    Vote Rating
    0
    G.edwin is on a distinguished road

      0  

    Default TextToolItem with broken icons in a toolBar

    TextToolItem with broken icons in a toolBar


    Hello,

    I try to insert TextToolItem in a ToolBar, above a Grid. But Icons displayed strangely (you can see it in the attached file).

    Here my Java and Css code :

    Code:
    //Java 
    TextToolItem ttiRefresh = new TextToolItem();
    ttiRefresh.setIconStyle("icon-table-refresh");
    ttiRefresh.setToolTip("Reinitialize default values");
    
    //CSS
    .icon-table-refresh {
      background: url(images/icons/fam/table_refresh.gif) no-repeat center left !important;     
    }
    What's wrong with that ? The icon is well found, but there is a kind of "display bug". (My pictures files are not corrupted.)
    Attached Images