PDA

View Full Version : Resize dialog to fit content



thaberkern
1 Aug 2007, 5:29 AM
Hi all,

i'm using a basic dialog. My problem is that the content of the dialog can change through actions in the dialog (adding new item i.e.). Is there a possibility to to "refit" the dialog to the content size after adding new elements to the dialog body?

Thanks for any help

Timo

tryanDLS
1 Aug 2007, 7:43 AM
You could try http://extjs.com/deploy/ext-1.1/docs/output/Ext.BasicDialog.html#setContentSize