When you create a variant in the designer and remove the default variant, the first time that you open your layout in the designer after opening your project, size is back to the default one. You have to close the designer then reopen it to get the proper variant.
I think I'm having this problem.
I've set up a second module similar to this: https://www.b4x.com/android/forum/threads/open-new-window-and-open-new-layout.36112/#post-212130
The initialize size is 365 x 300.
The size I've set in my variant is 365 x 300. The Abstract Designer window reflects this size.
But, the WYSIWYG window always comes up 500 x 462.
And, when I call the second module, it pops up at a third size. It appears to be stuck at about 300 x 350.
I tried using the File Manager to no avail.
The WYSIWYG window is not resized automatically. You need to resize it yourself (which is useful as it allows you to see how the layout changes when the window is resized).
For further discussion please start a new thread in the questions forum.