2012-08-31 80 views
0

默认的ExtJS配置不允许在IE 8中正确显示标题栏按钮。我没有在IE 9中进行测试。我该如何解决这个问题?Ext JS 4:标题栏按钮在Internet Explorer 8中不完全可见

BEFORE:

的Internet Explorer 8:

enter image description here

是Mozilla Firefox 15:

enter image description here

我试着加入TBAR>风格>高度第一个按钮配置为'200px'。这只会让第一个按钮变大,但第二个和第三个按钮保持不变。即使我在所有3个按钮中设置了相同的高度,按钮仍然部分隐藏在IE 8中。如果您知道如何设置tbar本身的样式,我可以尝试。但我无法弄清楚。

AFTER:

tbar: [{ 
    text: 'Create HEAT Project', 
    style: { 
     border: 'solid', 
     height: '200px' 
    }, 

的Internet Explorer 8:

enter image description here

是Mozilla Firefox 15:

enter image description here

回答

0

这个CSS修复在Internet Explorer中编辑它!

<style media="screen" type="text/css"> 

    .x-nlg .x-toolbar-default { 
     background-image: url(../blank.png) !important; 
    } 

</style> 
+0

因此,这工作在一台计算机上的Internet Explorer 8,但不是另一台。那怎么可能? – MacGyver

相关问题