- // Fix the size of the elements which have flexible lengths.\r
- var fixSize = function()\r
- {\r
- var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),\r
- body = innerDialog.getChild( 0 );\r
+ // Fix the size of the elements which have flexible lengths.\r
+ var fixSize = function()\r
+ {\r
+ var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),\r
+ body = innerDialog.getChild( 0 ),\r
+ bodyWidth = body.getSize( 'width' );\r
+ height += body.getChild( 0 ).getSize( 'height' ) + 1;\r