如何使 Wicket 模态窗口不可拖动? [英] How can I make a Wicket modal window un-draggable?

查看:27
本文介绍了如何使 Wicket 模态窗口不可拖动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中使用了 Wicket 模式窗口.有没有办法让它不可拖动?任何信息都会对我很有帮助.谢谢.

解决方案

不幸的是,没有对此的支持,至少开箱即用.可以阻止用户调整窗口大小,但可拖动性不受此影响.

1.4.7 版中 ModalWindow 的完整 Javadoc 是 这里.>

I am using a Wicket modal window in my application. Is there any way to make it un-draggable? Any information will be very helpful to me. Thank you.

解决方案

Unfortunately, there is no support for this, at least out of the box. It is possible to prevent the user from resizing the window, but draggability is not affected by that.

Full Javadoc for ModalWindow in version 1.4.7 is here.

这篇关于如何使 Wicket 模态窗口不可拖动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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