Page 1 of 1

'Manual' sizing of anchored fields

PostPosted: Tue Apr 02, 2013 9:02 pm
by ylockson
It would be nice if maximum limits could be defined for fields that are right & left or/and top & bottom anchored.

For example, in a tableview form, when several fields are left & right anchored, Servoy automatically expands them in a way that is not always predictable. If a form is designed to say fit into at least a 800x600 screen, columns sometimes need to be made smaller for all of them to fit. Then, if a monitor wide enough were used, width & height limitations defined would make the field containers become sized exactly as wished (leaving blanks spaces at right and bottom if not needed - instead of filling up). If the monitor though larger than 800x600 but still not big enough, Servoy could simply re-allocate any extra space proportionally.

Re: 'Manual' sizing of anchored fields

PostPosted: Wed Apr 03, 2013 3:30 pm
by Joas
You can use the onResize event of your form and the .setSize() and .setLocation() functions on your elements to do this.