'Manual' sizing of anchored fields

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

'Manual' sizing of anchored fields

Postby ylockson » Tue Apr 02, 2013 9:02 pm

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.
Posts: 59
Joined: Thu Mar 01, 2012 8:40 am

Re: 'Manual' sizing of anchored fields

Postby Joas » Wed Apr 03, 2013 3:30 pm

You can use the onResize event of your form and the .setSize() and .setLocation() functions on your elements to do this.
Joas de Haan
Site Admin
Posts: 768
Joined: Mon Mar 20, 2006 4:07 pm
Location: Amersfoort, NL

Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 5 guests