禁用的WindowedApplication调整大小的Flex [英] Disable WindowedApplication Resize in Flex
本文介绍了禁用的WindowedApplication调整大小的Flex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使它所以在WindowedApplication在Flex是不可调整大小。然而,可调整大小的是类的只读公共变量。
I'm trying to make it so the WindowedApplication in Flex is not resizable. However, resizable is a read-only public variable for the class.
我如何使它所以用户不能调整Flex应用程序(在Adobe AIR中运行)?
How do I make it so the user cannot resize the Flex application (running in Adobe Air)?
推荐答案
如果您的项目叫做富
A FOO-app.xml中
也将自动生成。这是一个应用程序配置文件。编辑这个文件,特别是改变:
If your project is called foo
a foo-app.xml
will also be automatically generated. This is an application configuration file. Edit this file, in particular change:
<!-- Whether the user can resize the window. Optional. Default true. -->
<!-- <resizable></resizable> -->
到
<!-- Whether the user can resize the window. Optional. Default true. -->
<resizable>false</resizable>
(注:这个属性被注释掉通常,默认值是true)
(Note: This property is commented out typically and the default value is true.)
这篇关于禁用的WindowedApplication调整大小的Flex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文