Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » FormLayout behaviour on resizing(Does FormLayout by design render widgets overlapped when the window size is too small)
FormLayout behaviour on resizing [message #1708376] Wed, 16 September 2015 05:31
Joe Fernandez is currently offline Joe FernandezFriend
Messages: 27
Registered: November 2014
Junior Member
I've tried using FormLayout, both with my own code and the sample code in the very useful "Understanding Layouts in SWT" Eclipse Corner article.

In both case I find when I shrink the window to the point where all the widgets cannot be displayed, FormLayout starts to render some of them overlapping others. I find this behavior quite disconcerting - GridLayout allows the widgets to scroll out of view, which is more intuitive to me.

Is this a deliberate design choice in FormLayout and, if so, are there any Best Practice type notes (for example, on setting minimum size as a restriction) that would apply to this? I think users will tell me I have a bug in my UI.

I really like the power of FormLayout, for example, when you use FormAttachments, compared with GridLayout, so I would like to find the best way to deal with this.
Previous Topic:GUI plugable application in SWT
Next Topic:How to set id`s to org.eclipse.swt.widgets.Table items and rows
Goto Forum:
  


Current Time: Thu Dec 14 10:24:15 GMT 2017

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

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