Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    431
    Vote Rating
    6
    wemerson.januario is on a distinguished road

      0  

    Default [FIXED][1.2 Beta] setting align stretch automaticaly while closing designer

    [FIXED][1.2 Beta] setting align stretch automaticaly while closing designer


    For example, if I add a form and a toolbar like this
    Code:
    Ext.define('MyForm1Ui', {
        extend: 'Ext.form.Panel',
    
        height: 165,
        itemId: 'form',
        width: 100,
        bodyPadding: 10,
        region: 'south',
    
        initComponent: function() {
            var me = this;
            me.baseParams = {
                action: 'login'
            };
            me.items = [
                {
                    xtype: 'textfield',
                    name: 'usuario',
                    fieldLabel: 'Usuário',
                    allowBlank: false,
                    enforceMaxLength: true,
                    maxLength: 11,
                    selectOnFocus: true,
                    anchor: '100%'
                },
                {
                    xtype: 'textfield',
                    id: 'senha',
                    inputType: 'password',
                    name: 'senha',
                    fieldLabel: 'Senha',
                    allowBlank: false,
                    enableKeyEvents: true,
                    anchor: '100%'
                },
                {
                    xtype: 'checkboxfield',
                    id: 'ckRemember',
                    itemId: 'ckRemember',
                    name: 'ckRemember',
                    fieldLabel: ' ',
                    labelSeparator: ' ',
                    boxLabel: 'Lembrar usuário nesse computador',
                    anchor: '100%'
                },
                {
                    xtype: 'checkboxfield',
                    itemId: 'ckFullScreen',
                    name: 'ckFullScreen',
                    fieldLabel: ' ',
                    labelSeparator: ' ',
                    boxLabel: 'Iniciar em tela cheia',
                    anchor: '100%'
                }
            ];
            me.dockedItems = [
                {
                    xtype: 'toolbar',
                    ui: 'footer',
                    defaults: {
                        width: 110,
                        scale: 'medium'
                    },
                    dock: 'bottom',
                    layout: {
                        pack: 'center',
                        type: 'hbox'
                    },
                    items: [
                        {
                            xtype: 'button',
                            itemId: 'btnLogin',
                            iconCls: 'icon-login-medium',
                            text: 'Login'
                        },
                        {
                            xtype: 'button',
                            itemId: 'btnPassword',
                            iconCls: 'icon-password-medium',
                            text: 'Esqueci Senha'
                        },
                        {
                            xtype: 'button',
                            itemId: 'btnReset',
                            iconCls: 'icon-clear-medium',
                            text: 'Limpar'
                        }
                    ]
                }
            ];
            me.callParent(arguments);
        }
    });
    and everything renders ok in canvas and preview, when you close de Designer and open again the align comes back to "stretch" like this.


    Code:
    me.layout = {
                align: 'stretch',
                pack: 'center',
                type: 'hbox'
            };
    and the toolbar does not render anymore, so I need to reset the align to "top"

    Possible bug! the Designer is setting "stretch" as default value of align in layout, I gues if you set top as default, correct the problem!
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,879
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    this will be fixed in next build
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi