Threaded View

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    waqasaslammmeo is on a distinguished road

      0  

    Smile Answered: Show labels at the top of text fields

    Answered: Show labels at the top of text fields


    Hello !
    i hope all of you are in great state of health , i have a prob , i want to show my labels of my text fields at the top of them. as shown in attached image file , please help me in this .

    Best Regards
    Attached Images

  2. here you go!
    http://jsfiddle.net/serju/P4aX9/1/
    PHP Code:
    Ext.create('Ext.container.Container', {
        
    layout: {
            
    type'hbox'
        
    },
        
    width600,
        
    renderToExt.getBody(),
        
    defaults: {        
            
    labelWidth80,
            
    labelAlign 'top',
            
    xtype 'textfield'
        
    },
        
    items: [{                
            
    fieldLabel'Id'
        
    },{
            
    fieldLabel'Name'
        
    },{    
            
    fieldLabel 'City'       
        
    }]
    }); 

Thread Participants: 3

Tags for this Thread