-
30 Mar 2011 11:50 PM #1
Ext.window.Window and Ext.form.TextField
Ext.window.Window and Ext.form.TextField
Hello there,
today i started to create a new Ext.window.Window:
But after adding "boddyPadding" the form looks like this:Code:var window = new Ext.window.Window({ title: 'Neues Portfolio', modal: true, width: 500, height: 500, layout: 'fit', boddyPadding: '25px', items: [ new Ext.form.TextField({ name: 'name', fieldLabel: 'Name' }) ], closeAction: 'hide', resizable: false, dragable: false });

But, why
Need help guys.
Greets,
Marc
-
31 Mar 2011 12:04 AM #2
Typo. Only 1 d is body!
Also, you can just use:
Code:bodyPadding: 25
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
31 Mar 2011 12:25 AM #3
Hmmm... I've edit the code block:
But there is no difference.Code:var window = new Ext.window.Window({ title: 'Neues Portfolio', modal: true, width: 500, height: 500, layout: 'fit', bodyPadding: 25, items: [ new Ext.form.TextField({ name: 'name', fieldLabel: 'Name' }) ], html: 'test', closeAction: 'hide', resizable: false, dragable: false });
Similar Threads
-
TextField.change und Window.beforeclose
By ck4ExtJS in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 7 Nov 2010, 11:52 PM -
[FIXED] Window.setAutoHide() closes window on window moving
By sorrro in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 6 Oct 2009, 6:50 AM -
Form in a Window: focusing element after the window is opened
By Qtx in forum Ext 3.x: Help & DiscussionReplies: 10Last Post: 24 Aug 2009, 1:52 AM -
TextField can't be focused when use window
By lyo in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 2 Aug 2008, 11:30 AM


Reply With Quote