5 Oct 2010 11:57 PM #1
How to do a delphi-like form layout?
Delphi's layout system is an absolute layout system where you anchor controls to a fixed distance from any edge. If you anchor a control to the right edge, it will change its x coordinate when the container resizes. When you anchor a control to both edges, it will keep both its x coordinate and its distance from the right edge.
I am having issues translating this to Ext.
Take a look at this example form:
In the middle row the "Valid From" and "Valid Until" date fields are anchored only to the right edge, so they will not resize, only change their x position. The "Customer" field however is anchored to both edges, so it will resize.
Any suggestions on how I can realize such a layout cleanly?
By wanderlan in forum Community DiscussionReplies: 10Last Post: 5 Mar 2012, 4:28 AM
By r.federiconi in forum Ext.DirectReplies: 20Last Post: 22 Feb 2010, 1:11 PM
By aytaral in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 28 Aug 2009, 7:49 AM
By aytaral in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 14 Apr 2008, 5:06 PM
By darkslord in forum Community DiscussionReplies: 5Last Post: 4 Oct 2007, 2:27 PM