-
23 Feb 2011 10:47 AM #1
[OPEN]Form rendering with padding property broken
[OPEN]Form rendering with padding property broken
Hi,
When I set the padding property on a Ext.FormPanel instance the rendering is broken.
See the image bellow:Code:... padding: '8 8 8 8', ...

ThanksOtávio Augusto Rodrigues Fernandes
Net On - Soluções Tecnológicas Ltda
Desenvolvimento e Consultoria em ExtJS
www.neton.com.br
otavio@neton.com.br
(31) 3075-7868
-
23 Feb 2011 3:12 PM #2
Please post the full code:
Anyway, I think you probably want bodyPadding.Code:Ext.require('*'); Ext.onReady(function() { new Ext.form.FormPanel({ width: 400, height: 400, renderTo: document.body, Padding: '8 8 8 8', title: 'I am a panel', items: [{ xtype: 'textfield', label: 'Foo' }, { xtype: 'textfield', label: 'Bar' }] }); });Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
24 Feb 2011 4:08 AM #3
Hi Evan,
See the full code:
I see this problem occurs only on IE (my version is 8). When I use bodyPadding the rendering is right, but I think using padding property not should broken the rendering.Code:Ext.define('Proposital.Login.AbstractLogonPanel',{ extend: 'Ext.FormPanel', frame: true, title: 'Acesse agora', width: 250, autoHeight: true, padding: '8 8 8 8', fieldDefaults: { labelAlign: 'top', anchor: '100%' }, ... );
Thanks.Otávio Augusto Rodrigues Fernandes
Net On - Soluções Tecnológicas Ltda
Desenvolvimento e Consultoria em ExtJS
www.neton.com.br
otavio@neton.com.br
(31) 3075-7868
-
24 Feb 2011 4:51 AM #4
Demonstrates the issue.Code:Ext.onReady(function(){ new Ext.create('widget.form', { width: 400, height: 400, renderTo: document.body, title: 'Some form', padding: '8 8 8 8', frame: true }); });Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-542] Ext.form.Select broken on Android
By mikeyroy in forum Sencha Touch 1.x: BugsReplies: 6Last Post: 11 Nov 2010, 2:57 PM -
[OPEN-1130] Grid column headers broken in Opera 10.60 (rendering, resizing)
By grzegorz.borkowski in forum Ext 3.x: BugsReplies: 3Last Post: 10 Nov 2010, 11:24 PM -
[OPEN-392] 0.96 Carousel broken
By kortovos in forum Sencha Touch 1.x: BugsReplies: 6Last Post: 6 Oct 2010, 8:42 AM -
[OPEN-1110] Ext.form.TriggerField -> rendering hidden and IE8
By tobiu in forum Ext 3.x: BugsReplies: 3Last Post: 14 Jul 2010, 4:48 AM -
[OPEN-1084]Ext.ux.form.SpinnerField and non defered rendering
By tobiu in forum Ext 3.x: BugsReplies: 1Last Post: 29 Jun 2010, 5:26 AM


Reply With Quote