1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    83
    Vote Rating
    1
    darkhorni is on a distinguished road

      0  

    Question formLabels are shown at top left

    formLabels are shown at top left


    I have tried many things to show the labels to the left but they keep showing up at top left. What might be the cause?

    Kvx2w.png


    The actual code is 3105 lines. The related code is:

    Code:
    var bildirilenArizaAlt = new Ext.form.FormPanel({
        
            frame : true,
            id: "bildirilenArizaAltid",
            layout: {
                type: 'table',
                columns: 2
            },
            defaults : {
                padding : 0,
                width : 245,
                cellCls : 'verticalAlignTop',
                border : false,    
            },
            labelWidth: 30,
            labelAlign:  'right',
            items: [{
                layout:'form',
                items:[{
                    xtype : 'dynaCombo',
                    table : 'TANIMLAR_DET',
                    field : 'TANIM_DET_ADI',
                    no : 'TANIM_DET_NO',
                    id: 'bildirilenArizaAltbir',
                    fieldLabel : LANG.ISEMRI__SERVIS_TURU,
                    hiddenName : "SERVIS_TURU",
                    forceSelection : true,
                    readOnly: (loggedUser.domain == "demo") ? true : false,
                    where : [{
                        field : 'TANIM_NO',
                        value : 1,
                        queryType : 0,
                        whereType : 'and',
                        searchType : 'default'
                    }]
                }]
            },{
                layout:'form',
                items:[{
                    xtype : 'textfield',
                    name : 'SERVIS_VEREN',
                    id : 'SERVIS_VERENba',
                    allowBlank: false,
                    readOnly: true,
                    fieldLabel : 'Ekip'}]
            },{
                layout:'form',
                items:[{
                layout: 'form',
                items:[{
                    xtype : 'textfield',
                    id: 'montaj_kart_no_id',
                    fieldLabel: LANG.ISEMRI__MOUNT_CARD_NO,
                    name : 'MONTAJ_KART_NO'
                    }]
                }]
            }]
        });

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,931
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    Thread moved to Ext JS 3.0 help.

Tags for this Thread