To elaborate what TopJimmyCooks posted earlier, Mala layouts have a Horizontal and Vertical version contained within the same mll file.
When you are making a layout in the layout editor and switch to vertical, you aren't changing the type of layout.
You are working on the vertical setup
for the same layout. If you switch back to horizontal, everything is still as you left it.
If you switch between orientations while in Mala, it will switch between the two setups you made within the same layout file.
They don't have to look the same.
DaOldMan's plugin has Mala switch it's orientation to match the monitor orientation when necessary.
I made my layouts square so they appear the same no matter which way the monitor is oriented.
The background images are actually not the same.
The horizontal one has black bars on the sides, the other has them top and bottom.
It doesn't appear to the user to ever switch regardless of orientation.
I originally started out having the appearance different for each orientation,
but found it disorienting to have the placement of things shift when the monitor rotated.