【问题标题】:Sencha EXTJS4 - How to change the icon of the buttons ItemSelectorSencha EXTJS4 - 如何更改 ItemSelector 按钮的图标
【发布时间】:2016-04-21 10:58:11
【问题描述】:

如何在 Sencha extjs 4.Screenshot for the ItemSelector 中更改 ItemSelector 中按钮的图标

【问题讨论】:

    标签: extjs extjs4


    【解决方案1】:

    如果你想改变那些图标,你必须重写 css 类:

    .x-form-itemselector-top {
        background-image: url(images/itemselector/top.gif);
    }
    
    .x-form-itemselector-bottom {
        background-image: url(images/itemselector/bottom.gif);
    }
    

    在背景图片中使用您的自定义图片。这只是上下图标。例如,您应该使用 Chrome 调试器搜索其他 css 类。

    【讨论】:

      猜你喜欢
      • 2011-12-14
      • 2013-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-13
      • 2014-05-07
      相关资源
      最近更新 更多