Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      0  

    Default [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.

    Code:
    ...
    padding: '8 8 8 8',
    ...
    See the image bellow:



    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

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,148
    Vote Rating
    673
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Please post the full code:

    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'
            }]
        });
    });
    Anyway, I think you probably want bodyPadding.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      0  

    Default


    Hi Evan,

    See the full code:

    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%'
       },
       ...
    );
    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.

    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

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,148
    Vote Rating
    673
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    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
        });
    });
    Demonstrates the issue.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. [OPEN-542] Ext.form.Select broken on Android
    By mikeyroy in forum Sencha Touch 1.x: Bugs
    Replies: 6
    Last Post: 11 Nov 2010, 2:57 PM
  2. Replies: 3
    Last Post: 10 Nov 2010, 11:24 PM
  3. [OPEN-392] 0.96 Carousel broken
    By kortovos in forum Sencha Touch 1.x: Bugs
    Replies: 6
    Last Post: 6 Oct 2010, 8:42 AM
  4. Replies: 3
    Last Post: 14 Jul 2010, 4:48 AM
  5. Replies: 1
    Last Post: 29 Jun 2010, 5:26 AM

Thread Participants: 1