This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / New in Version 3.x / Notebooks /

WindowMargins

FilledSmallSquare WindowMargins is an option for Notebook which specifies what margins to leave around the window that is used to display the notebook on the screen.

FilledSmallSquare WindowMargins->left, right, bottom, top specifies the distances from each edge of your screen to each edge of the window.

FilledSmallSquare Typically only two distances are given explicitly; the others are Automatic, indicating that they should be determined from the size of the window.

FilledSmallSquare Explicit distances are given in printer's points.

FilledSmallSquare Negative values represent edges that are off the screen.

FilledSmallSquare The settings for WindowMargins change whenever you move a window around interactively using the front end.

FilledSmallSquare Window edges closer to the edges of the 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.

FilledSmallSquare With WindowSize->{Automatic, Automatic} all four margin distances must be given explicitly.

FilledSmallSquare With the default setting WindowMargins->Automatic, new windows are placed on your screen in such a way as to make as many window title bars as possible visible.

FilledSmallSquare See Section 2.11.13.

FilledSmallSquare See also: WindowSize, WindowMovable.

FilledSmallSquare New in Version 3.