1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    marvin.consistem is on a distinguished road

      0  

    Default Unanswered: Fields missing on firefox....

    Unanswered: Fields missing on firefox....


    I made a simple screen using extjs 4.1 and the fields just vanish on firefox:
    FFvsCH.jpg

    Left firefox, right Chrome

    Here is the code:
    Code:
    Ext.define('MyApp.edit.com_consistem_cs4j_company_model_Company', {
        title : 'Empresa {Nova}',
        autoDestroy : true,
        closable : true,
        extend : 'Ext.form.Panel',
        xtype : 'form',
        labelWidth : '150',
        labelAlign : 'right',
        fieldDefaults : {
            labelWidth : '150',
            labelAlign : 'right',
            msgTarget : 'side'
        },
        defaults : {
            anchor : '100%'
        },
        defaultType : 'textfield',
        items : [ {
            xtype : 'hiddenfield',
            name : 'id'
        }, {
            fieldLabel : 'razaoSocial',
            name : 'razaoSocial'
        }, {
            fieldLabel : 'cnpj',
            name : 'cnpj'
        }, {
            fieldLabel : 'inscricaoEstadual',
            name : 'inscricaoEstadual'
        }, {
            fieldLabel : 'inscricaoSuframa',
            name : 'inscricaoSuframa'
        }, {
            fieldLabel : 'atividadeEconomica',
            name : 'atividadeEconomica'
        }, {
            xtype : 'combobox',
            fieldLabel : 'situacao',
            queryMode : 'local',
            displayField : 'label',
            valueField : 'value',
            store : Ext.create('Ext.data.Store', {
                autoDestroy : false,
                data : [ {
                    value : 'ATIVA',
                    label : 'ATIVA'
                }, {
                    value : 'INATIVA',
                    label : 'INATIVA'
                } ],
                idIndex : 0,
                fields : [ 'value', 'label' ]
            }),
            name : 'situacao'
        }, {
            xtype : 'fieldset',
            title : 'endereco',
            collapsible : false,
            defaultType : 'textfield',
            layout : 'anchor',
            defaults : {
                anchor : '100%'
            },
            items : [ {
                xtype : 'hiddenfield',
                name : 'id'
            }, {
                fieldLabel : 'logradouro',
                name : 'logradouro'
            }, {
                fieldLabel : 'numero',
                name : 'numero'
            }, {
                fieldLabel : 'complemento',
                name : 'complemento'
            }, {
                fieldLabel : 'bairro',
                name : 'bairro'
            }, {
                fieldLabel : 'cep',
                name : 'cep'
            }, {
                fieldLabel : 'telefone',
                name : 'telefone'
            }, {
                fieldLabel : 'fax',
                name : 'fax'
            }, {
                fieldLabel : 'email',
                name : 'email'
            }, {
                fieldLabel : 'uf',
                name : 'uf'
            }, {
                fieldLabel : 'municipio',
                name : 'municipio'
            } ],
            name : 'endereco'
        } ],
        initComponent : function() {
            this.buttons = [ {
                text : 'Salvar',
                icon : 'dynamic_arquivos/OOo3_tango_icons/save_16x16.png',
                action : 'save',
                handler : function() {
                    //TODO
                },
                scope : this
            }, {
                text : 'Close',
                handler : function() {
                    this.close();
                },
                scope : this
            } ];
            this.callParent(arguments);
        }
    });
    Is there anything obvious that I am missing?!

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    set your layout to anchor for the top-most component.

    Remove xtype for the class definition.

    labelWidth and labelAlign are not valid formPanel config options.

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..."