简体   繁体   English

Ext.window.Window最小按钮不起作用

[英]Ext.window.Window minimum button is not working

On my extjs4 view I set the minimizable to true but after click on the min button the view is not minimized. 在我的extjs4视图中,我将minimizable设置为true,但是在单击min按钮后,视图不会最小化。 The maximum button is working. 最大按钮正在工作。 Do I need to set other property for the window to make it work? 我是否需要为窗口设置其他属性才能使其正常工作?

Thanks for help. 感谢帮助。

This is covered in the documentation, so I'll just quote it here: 这在文档中有所涉及,所以我在这里引用它:

True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button and disallow minimizing the window. 如果为True,则显示“最小化”工具按钮并允许用户最小化窗口,使用false来隐藏按钮并禁止最小化窗口。 Note that this button provides no implementation -- the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a custom minimize behavior implemented for this option to be useful. 请注意,此按钮不提供任何实现 - 最小化窗口的行为是特定于实现的,因此必须处理最小化事件,并且为此选项实现的自定义最小化行为才有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM