|
|||||||
![]() |
|
|
Thread Tools |
|
#11
|
|||
|
|||
|
Hello friends,
Some suggestion, please??? Have a nice day, Silver |
|
#12
|
||||
|
||||
createCandidate_panel = new Ext.form.FormPanel({
id: 'createCandidate',
title: 'Create Candidate',
closable: true,
layout: 'form',
viewConfig: { anchor: '-20' } <-- Does NOTHING. You invented this.
items: [{ <-- this item, and all the other items WILL NOT be sized. Read the link uniring pointed to.
layout: 'column',
defaults: { layout:'form', defaultType:'textfield' },
__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them. ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu Read the docs too: http://extjs.com/deploy/dev/docs/ See Saki's samples: http://examples.extjs.eu/ Build your own Ext: http://extjs.com/products/extjs/build/ Scope: http://extjs.com/forum/showthread.ph...642#post257642 |
|
#13
|
|||
|
|||
|
Thanks animal,
If I change the form layout to 'anchor' instead of 'form' the form panel will not show propertly... Please, can somebody show me in my code what I need to change?? I have some days with this error and I can't solve it :-( Bests, Silver |
|
#14
|
||||
|
||||
|
OK, I'm going to have to GUESS what your intentions are.
Because the concept of it "working" depend on what you want. Do you want these child items of the FormPanel to always be the full available width? If so, then give them an anchor config. And that ID documented. The information IS there. Really. It is. You just have to read it. anchor. That is what you need to enforce width management.
__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them. ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu Read the docs too: http://extjs.com/deploy/dev/docs/ See Saki's samples: http://examples.extjs.eu/ Build your own Ext: http://extjs.com/products/extjs/build/ Scope: http://extjs.com/forum/showthread.ph...642#post257642 |
![]() |
| Thread Tools | |
|
|