Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Form layout correct only during resizing?
Form layout correct only during resizing? [message #576646] Wed, 12 September 2007 08:32
Kim Sullivan is currently offline Kim SullivanFriend
Messages: 44
Registered: July 2009
Member
Hello,

I've encountered a strange problem - my form is laid out too wide, so
that horizontal scrollbars appear. The strange thing is, that the form
is laid out correctly during resizing, but once resizing stops, it goes
back to being too wide (and scrollbars appear).

The main form has a GridLayout (because I sometimes need to display a
master details block on the bottom). The top is filled with a Composite
with GridData(SWT.FILL, GridData.BEGINNING, true, false), and a
TableWrapLayout with two columns (setting columns equal width doesn't help).

The top composite contains 2 sections with a TableWrapLayout, both have
their layuout data set to FILL_GRAB.

+form body - GridLayout-----------------------------------+
| |
| +top composite - TableWrapLayout(boolean,2)-----------+ |
| | | |
| | +section (FILL_GRAB)----+ +section (FILL_GRAB)----+ | |
| | | | | | | |
| | +-----------------------+ +-----------------------+ | |
| | | |
| +-----------------------------------------------------+ |
| |
+---------------------------------------------------------+

Thanks for any pointers,
Kim
Previous Topic:Using displayHelpResource()
Next Topic:remoteHelpHost etc.
Goto Forum:
  


Current Time: Thu Apr 18 05:51:07 GMT 2024

Powered by FUDForum. Page generated in 0.01484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top