How to set a panel/ window transparent in extjs 4?

£可爱£侵袭症+ 提交于 2019-12-07 03:04:12

问题


How to set a panel or a window transparent (half)? Via CSS or set the html code? The extjs version is 4.0.7. Thanks.


回答1:


You can accomplish this with CSS.

Add this config to your panel:

bodyStyle: 'background:transparent;'

or

bodyStyle: 'opacity:0.5;'


来源:https://stackoverflow.com/questions/14049013/how-to-set-a-panel-window-transparent-in-extjs-4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!