I have a screen resolution of 2560 x 1600.
I have defined a new layout with the Code window, the Editor window and the Debug window side by side:
However, when I select again this layout, it changes to this:
As you can see, the Editor window has been resized without my consent.