Why are windows oversized sometimes?

Can anyone tell me what might be causing this combined application window to always default to near the width of my monitor?

Is there any way to change this behaviour? Ideally the width would be that of the map.

I don’t know if it is relevant, but the editor also opens at the same width.

Hi, I’m not certain about your needs, but:

  • a [Map Window] contains a [Map Boards] branch, which may contain multiple [Boards]
    The [Map Boards] have a Cell width and height, in pixel
    Each [Board] has a Board width and height, in pixel
    Maybe you have a discrepancy between your Map Board size AND te Board Size as well.

Also, think that the [Map Window] can have a Zoom Capability, where you can set the Initial value. I usually replace the defaults 0.39.062, 0.625,1.0, 1.6 by 0.1, 0.2, 0.6, 0.8 … based on the huge size of my tiles and pieces, and with an initial on 0.2

Does that help you ?

No, I’m beginning to think the default behaviour of the combined application window is to start at a width just short of the width of your primary monitor. I often uncheck the “use combined application window” option, so I wasn’t familiar with it, but testing on other modules shows the same problem occurring.

Or are you saying that this does not happen to you when you open modules?

Ah, I get what you mean. Indeed in Combined Application, the controls window takes the whole screen width. Then the default zoom of the map being too small, this can result in a big white space close to the map.
I kind of never use the combined application windows either, so it does not bother me, but what you need is an extra option for the Vassal module in the preferences to either choose the width, or save the previous settings when you leave… I’m not sure about the dev team available for that :slight_smile:

I always remove the ‘combined window’ option. For me, it makes the manipulation of a multi-window module rather problematic if you don’t. Being able to separate them will give you buttons for each window in the task bar, as well …I use Windows, btw.

As do I, or, as I have always done.

More recently, it has occurred to me that there are probably a lot of Vassal users who don’t even know this is an option, and that where I can design a module to work well in a combined application window, I probably should. I also actually like the ability to switch between “all the Vassal windows” and “some other window” too, instead of every Vassal window being treated separately (“is it open and behind another window, or did I close it?”).

Anyway, it appears that window width for the main map of a combined application window IS saved when opening log files, just not when starting a new game. Weird, but no big deal.