How do I make a gwt-ext window not resize when its content resizes?

▼魔方 西西 提交于 2019-12-12 19:57:53

问题


I've run setHeight(600) on a Window, that's it's initial size. I've also went ahead and done setAutoScroll(true).

When the content of the window resizes, the window itself resizes. What I want is for the window to stay fixed in size, and when the content grows larger, add scrollbars. I can get this if I resize the window manually, then let the content grow or shrink.


回答1:


Have you checked the feature provided by GWT - setAutoHeights(false)?



来源:https://stackoverflow.com/questions/126881/how-do-i-make-a-gwt-ext-window-not-resize-when-its-content-resizes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!