1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    pavanbl is on a distinguished road

      0  

    Default Answered: Two Textarea boxes inside a window.

    Answered: Two Textarea boxes inside a window.


    Hi,
    Can anyone please help me.
    I`m trying for two side by side boxes in my page for placing the comment.One will show previous comments and should be disabled.other is for current users giving comments.

    I`m able to get single textarea box but couldn`t get the other one.
    Please help.

    Thanks

  2. Use an hbox layout. Here is the basic idea.

    PHP Code:
    Ext.create'Ext.window.Window', {
        
    title'test',
        
    height400,
        
    width400,
        
    layout: {
            
    type'hbox',
            
    align'stretch'
        
    },
        
    items: [
            {
                
    xtype'textarea',
                
    flex1,
                
    value'disabled area',
                
    disabledtrue
            
    },
            {
                
    xtype'textarea',
                
    value'enabled area',
                
    flex1
            
    }
        ]
    } ).
    show(); 

  3. #2
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    536
    Answers
    61
    Vote Rating
    70
    Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough

      0  

    Default


    Use an hbox layout. Here is the basic idea.

    PHP Code:
    Ext.create'Ext.window.Window', {
        
    title'test',
        
    height400,
        
    width400,
        
    layout: {
            
    type'hbox',
            
    align'stretch'
        
    },
        
    items: [
            {
                
    xtype'textarea',
                
    flex1,
                
    value'disabled area',
                
    disabledtrue
            
    },
            {
                
    xtype'textarea',
                
    value'enabled area',
                
    flex1
            
    }
        ]
    } ).
    show(); 

  4. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    pavanbl is on a distinguished road

      0  

    Default


    Thanks Tim. This worked like a charm.

Thread Participants: 1

Tags for this Thread

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