Skip to main content



      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 01:31
Eclipse UserFriend
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: Sun Aug 31 01:16:40 EDT 2025

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

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

Back to the top