Ext


Go Back   Ext JS Forums > Ext JS Community Forums (3.0) > Ext: Help

Reply
 
Thread Tools
  #11  
Old 11-04-2009, 02:30 PM
silve69 silve69 is offline
Ext User
 
Join Date: Jul 2009
Posts: 62
silve69 is on a distinguished road
Default

Hello friends,

Some suggestion, please???
Have a nice day,

Silver
Reply With Quote
  #12  
Old 11-04-2009, 03:24 PM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
Default

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
Reply With Quote
  #13  
Old 11-04-2009, 04:23 PM
silve69 silve69 is offline
Ext User
 
Join Date: Jul 2009
Posts: 62
silve69 is on a distinguished road
Default

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
Reply With Quote
  #14  
Old 11-05-2009, 03:32 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 09:49 AM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.