PDA

View Full Version : Can't stretch textfields



1chiban
2 Dec 2011, 9:35 AM
Hi guys,

I've been trying out the example about forms with nested tabpanels inside on this link: http://dev.sencha.com/deploy/ext-4.0.0/examples/form/dynamic.html , but it looks like i can't stretch the textfields inside the tabs or use any other layout like columns. Is it possible to do so? Thanks in advance :)

mitchellsimoens
2 Dec 2011, 9:50 AM
In the wrapping container of the fields, set layout : 'anchor' and then use the anchor config on the fields.

1chiban
5 Dec 2011, 1:49 AM
thanks a lot, it works :)