I believe that the dialog should display the produced dialog the same as it is once the code is compiled and running. So yes, I think it is a bug.
Actually, I meant, what is it producing in the code that makes it not display the same. Is it missing a property? Or does it miscalculate the dimensions?
I ask, because if you already know, I might temporarily fix the output manually, until a real fix is available.