如果我我删除说停止ExtJS的造型元素
height:200
从我的ExtJS的面板
,并在其位置添加一个CSS类
cls: "someclass"
在我的CSS类我的身高属性overided因为ExtJS的还是对元素放置一种风格,例如但最小值(2-4像素)
<div class="someclass" stlye="height:2px"></div>
任何想法如何阻止?
由于
使用
bodyCls: "someclass"
解
要强于
cls: "someclass"
使用bodyCls在你的面板和你的CSS设置如下:
.x-panel .someclass {
//css stuff in here
}
没有为我工作 – Stevanicus 2012-01-18 13:53:36
编辑 - 抱歉,我打算把它现在在那里!该属性需要“真实”而不是“虚假”! – 2012-01-18 14:21:44
抱歉,但仍然没有运气......它只是每次都覆盖它。 – Stevanicus 2012-01-18 14:31:49