1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    Jaco Louw is on a distinguished road

      0  

    Default Question about layout

    Question about layout


    Hi guys

    Have a question about a layout on a form.

    I have a textarea with height: 150px. Under this I have a label. What I would like is to display the label right underneath the "text part of the textarea. Hard to explain, so I have attached a screenshot.

    Many thanks!

    Jaco
    Attached Images

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    you may try this:-

    Code:
    {
        xtype:'fieldset',
        autoHeight:true,
        title:'Personali',
        renderTo: Ext.getBody(),
        layout:"column",
        items:[
            {
                xtype:'container'
                , layout:'form'
                , items:[        
                    {
                        xtype:'label'
                        , text:'text for your text area'        
                    },
                    {
                        xtype:'label',
                        text:'your label below text ',
                        style:'font-weight:bold'                    
                    }
                ]
            },
            {
                xtype:"textarea",
                name:"a",
                hideLabel:true,
                style:'margin-left:20px;',
                value:'Your Text Area'
            }
        ]
    }
    Output:-

    Attached Images
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    Jaco Louw is on a distinguished road

      0  

    Default


    Perfect!
    Cheers mate

    Jaco

  4. #4
    Sencha User
    Join Date
    Dec 2012
    Location
    USA
    Posts
    1
    Vote Rating
    0
    james247 is on a distinguished road

      0  

    Default


    Nice code this will solve my problem

Thread Participants: 2

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