FLEX: popupManager: TitleWindow: 如何使背景透明
我正在使用 PopupManager 在 Flex 中显示(非模态)弹出窗口。
如何使 TitleWindow 弹出窗口的背景完全透明? 现在它是半透明的..查看具有半透明背景的图片(即我只想让里面的标签可见):
http://dl.dropbox.com/u/72686/semiTransparent.png
也许,我可以尝试减少填充,而不是使其透明,以便仅使子项可见?
谢谢
I'm using PopupManager to display (not modal) popups in Flex.
How can I make the background of my TitleWindow popup completely transparent?
Now it is semi-transparent.. see picture with semi-transparent background (i.e. I just want the label inside visible):
http://dl.dropbox.com/u/72686/semiTransparent.png
Maybe, instead of making it transparent I could try to reduce the padding, in order to make only the children visible ?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果你想让它透明,请添加
如果你还想完全删除侧面和底部边框,请添加
即使有 borderThicknessTop 选项,也无法删除标题。
另外,据我所知, borderThickness="0" 选项不起作用。
If you want to make it transparent, add
If you also want to remove the side and bottom borders completely, add
You can't remove the header, even thought there is borderThicknessTop option.
Also, the borderThickness="0" option doesn't work as far as I know.
设置 backgroundAlpha 样式TitleWindow 为 0。
编辑,哎呀,我的错误,因为它是 Panel 的子类,所以您还需要将 borderAlpha 样式设置为 0。如果您使用默认的 Flex 外观,则白色箭头是“背景”,蓝色区域是“边框”。
Set the backgroundAlpha style of the TitleWindow to 0.
Edit, oops, my mistake, since it's a subclass of Panel, you'll also need to set the borderAlpha style to 0 as well. If you're using the default flex skins, the white arrow is the "background" and the blue area is the "border".