1

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.

hexacyanide
  • 88,222
  • 31
  • 159
  • 162
Hans Sjunnesson
  • 21,745
  • 17
  • 54
  • 63
  • Have you tried the AutoHeightis setter since then? Maybe it could make A.Rex's answer acceptable. – peterh Oct 03 '15 at 18:20
  • 1
    peterh: This was just over seven years ago. I don't use GWT any more. I'm not sure I could even validate this without having to relearn and setup a mock project. I think this questions should be closed rather than having an answer accepted. – Hans Sjunnesson Oct 05 '15 at 09:10
  • 1
    I'm voting to close this question as off-topic because the validity of the only answer is already undecidable by the OP. (See OPs comment above.) – peterh Oct 06 '15 at 20:25

1 Answers1

0

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

N00b Pr0grammer
  • 4,503
  • 5
  • 32
  • 46
A. Rex
  • 31,633
  • 21
  • 89
  • 96