IE not showing Spacing, only after reload

Hi there,
I got a strange problem with spacing in verticallayout in IE8+9 (different machines).
It’s not showing spacing, only if I hit the reload button in IE, then spacing is showing up correctly.

Does it make any difference when to setSpacing(true) for verticalLayout? e.g. setting it after adding verticalLayout to my mainWindow or after/before adding components to verticalLayout?

No problems in Firefox and Chrome.

Any hints?

Thank you,

I “solved” the problem by adding a:

mainWindow.executeJavaScript("window.location.href = window.location.href;");

Kinda dirty solution, but seems to be fine now.