[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Reference


Sash (Control)

Reference

Description

A sash is a box on a split bar through which users can directly manipulate the split bar to change the sizes of associated panes.

Figure 54. Sash.




View figure.

When to Use

Recommended
Use a sash to adjust the boundary between the panes of a paned box. Use the split bar solely to demarcate the boundary between the panes of a paned box.

Guidelines

Required
Design a sash to allow the user to adjust the position of the split bar and the size of the panes next to it.

Required
If you provide a sash, allow the user to navigate to it by pressing tab.

Required
Allow the user to adjust the size of the panes in the split window by adjusting the position of the split bar with the sash (if the Shift key is not pressed).

Required
When a user moves the split bar with the sash and does not press the Shift key, shrink the size of the pane in the direction of movement. Enlarge the size of the pane on the opposite edge of the split bar by an equal amount.

Required
Allow the user to adjust the position of the split bar by both pointer operations and keyboard methods.

Required
When the user drags a sash while pressing the SELECT button or TRANSFER button, make the sash track the movement of the pointer. In a vertically oriented paned window, make the sash track the vertical position of the pointer. In a horizontally oriented paned window, make the sash track the horizontal position of the pointer.

Recommended
In a split window with multiple panes, when a user adjusts a pane to its minimum size with the pointer and continues to move the pointer in the same direction:

  1. If there is another pane next to the minimized pane in the direction of movement, decrease the size of that pane while leaving the pointer on the original split bar.

  2. Increase the size of the pane on the trailing edge of the original split bar as the size of the adjacent panes decrease. When the pane reaches its predetermined maximum size, do not move the split bar any further.

  3. If no additional panes can be reduced by moving the leading edge of the split bar, do not move the split bar.

  4. Recommended
    When the user drags a sash while pressing Shift SELECT or Shift TRANSFER, have the pane in the initial direction of movement track the movement of the pointer while remaining the same size. That is, treat the current size of that pane as its minimum size. In a vertically oriented paned box, track the vertical position of the pointer. In a horizontally oriented paned box, track the horizontal position of the pointer.

    Required
    When the user presses the following keys with focus on the sash, move the sash as follows:

    V and ^
    If the sash can move vertically, move the sash one increment in the specified direction.

    < and >
    If the sash can move horizontally, move the sash one increment in the specified direction.

    Ctrl^ and CtrlV
    If the sash can move vertically, move the sash one large increment in the specified direction.

    Ctrl> and Ctrl<
    If the sash can move horizontally, move the sash one large increment in the specified direction.

    Recommended
    When the user presses the following keys when focus is on the sash, move the sash as follows:

    Shift^ and ShiftV
    If the sash can move vertically, move the pane in the initial direction one increment in the specified direction.

    Shift> and Shift<
    If the sash can move horizontally, move the pane in the initial direction one increment in the specified direction.

    CtrlShift^ and CtrlShiftV
    If the sash can move vertically, move the pane in the initial direction one large increment in the specified direction.

    CtrlShift> and CtrlShift<
    If the sash can move horizontally, move the pane in the initial direction one large increment in the specified direction.

    Required
    Make the sash look like a handle on the split bar separating two panes of a paned box.

    Required
    If the split bar has a sash, place the sash near the right end of the separators in a vertically split paned box or near the bottom end of the separators in a horizontally split paned box. Center the sash on the split bar in the other dimension.

    Supplemental Related Topics

    For more information, see the Paned Box (Control) and Window Navigation reference pages.


    [ Previous | Next | Contents | Glossary | Home | Search ]