Results 1 to 8 of 8

Thread: Show labels at the top of text fields

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
      0  

    Smile 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 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'       
        
    }]
    }); 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •