问题
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