View Full Version : Auto resizing of dialog box

3 Jun 2009, 12:20 PM
I want to implement auto resizing of the Dialog boxes. I have a vertical panel which holds the labels. and the number of the Labels in it is unknown and also the width of the Labels is unknown (Basically passed dynamically to the dialog box)

But when i add this to dialogbox the height sets properly but the width does not set to correct value. It will always be 300px. Because of this some fields will be truncated in the page.

Is there any way i can avoid this 300px limit and just make the dialog to take the width from the child component ?