ResizeWindow Command

The ResizeWindow command tells a window to resize to fits its contents

ResizeWindow #1

where

Notes

  1. Resizing may move a window. If the contents are too large for the screen, the window will only resize to the extent of the screen.
  2. Automatic resizing should normally only be used for child windows, such as those created by StructuresLink cells.
  3. When a window has a split view (using an EditPane cell), the window will adjust to fit the formatted cells into its portion of the split window.
  4. Additional control of the adjusted window height can be done using the DisplayHeight command.