System variable @SRWS to control
0: old way;
1: fit the width, and scale y with x scale;
2: fit the height, and scale x with y scale;
3(default) : fit the width and height;
In Origin2022b, windows display the same layout in workspace in different resolution and DPI