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,332
    Vote Rating
    83
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar