| Adding scrollbars to forms... [message #1003558] |
Mon, 21 January 2013 09:10  |
Urs Beeli Messages: 162 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Scout (or probably SWT/Swing) are pretty good at adjusting element sizes and positions when resizing form windows as long as resizing means increasing the size of a form.
However, when making a form smaller by dragging on its edge, elements that no longer fit just disappear. This is not acceptable behaviour in our application so I'm looking at ways to solve this issue.
I can think if two methods to use in this situation:
- add scroll bars to the form, so the user can scroll down to the "hidden" elements on the form
-> is it possible to have these scrollbars automatically added to the form when needed? If not, is it possible to add them explicitely?
- lock the form window size, so the user cannot make it too small to fit all elements.
-> is this possible? If yes, how would I do this?
How are others solving this issue in their applications?
|
|
|
|
|
| Re: Adding scrollbars to forms... [message #1004046 is a reply to message #1003904] |
Tue, 22 January 2013 08:50   |
Arthur vD Messages: 47 Registered: March 2010 |
Member |
|
|
Quote:Quote:There are many ways to change the resizing behaviour of GUI elements and I don't find all of them very intuitive. So you probably have to play around a bit to get the desired result. Have fun.
Any hints on where I might start playing around?
Properties like fillHorizontal/Vertical, GridW/H, GridWeightX/Y, GridUseUiWidth/Height and Width/HeightInPixel can be set on every FormField. The end result is not always entirely predictable, at least to me...
[Updated on: Tue, 22 January 2013 08:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01597 seconds