pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Resizing host window to content
Date Wed, 11 May 2011 18:19:03 GMT
> I was hoping to have the window (as in operating system window) automatically size to
the required size for my content on startup.

You can do this with DesktopApplicationContext#sizeHostToFit(Window).

> Apart from that, when the user resizes that window, I would also like to have the content

Since you are setting "maximized" to true on your main Window, this should work. Is that not
what you are seeing?

View raw message