Hybrid View
-
19 Jul 2012 5:19 AM #1
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
-
20 Jul 2012 3:58 AM #2
Hi!
you may try this:-
Output:-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' } ] }
sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
20 Jul 2012 8:58 AM #3
-
14 Dec 2012 6:21 AM #4
Nice code this will solve my problem


Reply With Quote