如何swtich extjs主题? [英] how to swtich extjs themes?
问题描述
我想更改蓝色以选择灰色主题或其他内容。
谢谢
Ext.util.CSS.swapStyleSheet 功能可用于在不同主题之间切换,这个论坛帖子显示一个例子。
此外,我在应用程序中首先实现了这一点,但是我最终发现强制浏览器刷新是必要的,而不是动态地交换CSS,因为仍然会有一些奇怪的大小/定位问题。这主要是在无障碍主题之间切换。
I noticed that extjs comes with 3 to 4 default themes/skins . How can I select or swtich between the themes?
I want to change the blue to select the grey themes or something else.
Thanks
Ext.util.CSS.swapStyleSheet function can be used to switch between the different themes, this forums post shows an example.
Also I implemented this at first in my app a while back, but I ultimately found that forcing a browser refresh was necessary instead of dynamically swapping the CSS as there would still be some weird sizing/positioning issues. This was mainly when switching between the accessibility theme.
这篇关于如何swtich extjs主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!