Internet Explorer 8 developer and production mode
Chrome (latest) production mode
Windows 7, 64bit
I have a dialog with a child VerticalLayoutContainer.
When the dialog is first rendered, the VerticalLayoutContainer is just big enough to show it's children (in the provided example, a single HTML child). When the dialog is rendered the second time (hide and then show again) or if the dialog is resized, the child VLC will take up the entire contents of the dialog.
dialog.show() for the first rendering of the dialog showDialog_1stShow.png
dialog.show() for the second rendering of the dialog (click close above and then reshow it). showDialog_2ndShow.png
Here is my test case that shows this behavior.