D3PLOT 22.1

Window "Snap to Grid" and Other Options

Window "Snap to Grid" and other options

When dragging an entire window with the mouse to move its position on the screen (i.e. not resizing it) there are several possible outcomes:

  1. Snap to Grid : The window is moved from one "cell" in a multi-window page to a different cell, shifting the contents of one or more cells out of the way.
  2. Free positioning #1 : The window is moved from inside the D3PLOT master window to a new user-defined position within that window, i.e. positioned where it is "dropped".
  3. Free positioning #2 : The window is moved from inside the D3PLOT master window and out onto the desktop.


The behaviour of "Snap to Grid" is illustrated in the following figure:

In this example, W4 is being dragged and the cursor is
at the "+" position inside W1. The borders of W1 are
highlighted in blue to show it is the destination window.

Releasing the mouse in this example causes W4 to
move to the "cell" of W1, and windows W1 to W3
to move down in the grid to make space for it.

"Snap to grid" behaviour illustrated in "Insert" mode


Switching "Snap to grid" on/off


Snap to grid is on by default, but it can be controlled from the Layout panel.

The default behaviour may also be set by the preference:

d3plot*snap_window_position: true | false

If switched off, the window positioning within the master D3PLOT window reverts to "Free positioning #1" mode with the window positioned where it is dropped with the mouse.

The behaviour of the other windows when a window is moved into a new position depends on whether the mode is Insert or Swap :

Insert Other windows circulate either up or down, as in the example above
Swap The window being dragged and its destination window swap places
Dragging a window from inside the D3PLOT master window onto the desktop, "Free positioning #2", is independent of the "snap to grid" setting: once on the desktop the window does not have any cell membership.

The ordering of windows within cells can also be controlled explicitly within the the Layout panel.