PDA

View Full Version : Layout Question



Mark Wagoner
14 Nov 2013, 2:19 PM
I am new to Ext JS and trying to create my first prototype. So far I am very impressed.

I am trying to create a form with 4 text fields and am having trouble trying to get them to lay out the way I would like. I would like all 4 fields to be arranged on a single row, but wrap to a second row if the user re-sizes the window and they no longer will fit on a single row. Something similar to the Flow layout in Java is what I am looking for.

Is there currently a layout manager that does this? If not, is it possible to achieve this functionality using a combination of existing containers?

Thanks

scottmartin
15 Nov 2013, 7:18 AM
Do you mean something like this?

1jn

Mark Wagoner
15 Nov 2013, 8:02 AM
That's it! All I had to do was change the form to use a column layout? I guess I was looking for something more complicated. Thanks