PDA

View Full Version : Stretching horizontally in a HBox layout



uyilmaz
19 Feb 2014, 3:27 AM
How can I make a layout like:

47971

Two vboxes in a hbox (like a table with 2 columns), but when I stretch the window horizontally text fields will be stretched horizontally too?

Working for like 3 hours to accomplish, I think it's not a simple case.

mdnaveed42
19 Feb 2014, 4:09 AM
Check this,

http://docs.sencha.com/extjs/4.2.2/extjs-build/examples/layout/hbox.html (http://10.4.2.11:8080/Sench42_Docs/examples/layout/hbox.html)


Thanks,
Md Naveed
\m/

uyilmaz
19 Feb 2014, 6:47 AM
Link does not open.

Anyway, I just found that HBox layout also has a "flex" config like VBox to resize components. When flex is undefined on components, they do not resize.