PDA

View Full Version : Text wrapping component



lucia_mgv
14 Dec 2010, 12:32 AM
Hi,

I am trying to write some text in a boxComponent or something and when the text wrapps I want the component to resize its height.

I tried with a boxComponent and autoHeight:true, but it doesn't work.

Any idea?

Btw this is my code:


var Address=new Ext.BoxComponent({
id:'Address',
anchor:'100%',
autoHeight:true,
cls:'NormalValuesReadOnly',
html:'POL.IÑURRISTA, PARCELA 11A<BR/>31880 LEITZA<BR/>NAVARRA'
});


Thanks,

Lucía