View Full Version : Resizing the application on different screen resolutions

3 Feb 2012, 7:22 AM
I have an application which is built on BorderLayout (following the examples) having 3 content panels with names east, west and center

Within these content panels i have placed various content panels / layout containers having fixed width and height. Many of these child containers have absolute layout. The application is built and the widgets are positioned keeping in mind 1024x768 screen resolution

Now, If this app is opened on a screen having wider resolution say 1280x900 etc, it looks odd leaving out too many white spaces around their area.

I tried autoHeight property of the containers which is removing the vertical scrolling while used (specially with tree panel, which i am using in west panel)

Please help me with any examples / tips to make my application get adjusted to whatever resolution its being displayed on.

Thanks in advance!

8 Feb 2012, 2:30 AM
Did you try giving row layout instead of fixed size? In my projects it is working.

9 Feb 2012, 12:46 AM
Try to use autowidth and FitLayout. That worked for me.:)