tags:

views:

1290

answers:

2

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.

A: 

Have you checked that (set)AutoHeight is false?

A. Rex
+2  A: 

Try a combination of setResizable(false) and setAutoScroll(true) for that Window object.

flicher