- WindowSize specifies the size of a window’s content area, not including the title bar.
- In the value of WindowMargins, window edges closer to the edges of the display screen are typically assigned explicit margin distances; the others are set to Automatic. This allows the same setting for WindowMargins to work on screens of different sizes.
Set the size and position of an existing notebook window with SetOptions:
Get the sizes of displays using SystemInformation. The "ScreenArea" value is a list of display sizes, each of which specifies the minimum and maximum coordinates in the horizontal and vertical directions of the usable display area:
WindowMargins values are always relative to the main display. To position a window on an external display, use negative WindowMargins values. The appropriate values will depend on the relative positions of the main and external displays: