如何在extjs 4中设置面板/窗口透明? [英] How to set a panel/ window transparent in extjs 4?

查看:102
本文介绍了如何在extjs 4中设置面板/窗口透明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置面板或窗口透明(一半)?
通过CSS或设置html代码?
extjs版本是4.0.7。
谢谢。

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.

推荐答案

你可以用CSS完成这个。

You can accomplish this with CSS.

将此配置添加到您的面板中:

Add this config to your panel:

bodyStyle: 'background:transparent;'

bodyStyle: 'opacity:0.5;'

这篇关于如何在extjs 4中设置面板/窗口透明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆