[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Size (Choice)
Reference
Description
Size is an action choice that allows a user to change the size of a window
or of specified elements.
When to Use
RequiredInclude the Size choice on the window menu if and only if the size of the
window can be changed.
RecommendedInclude the Size choice on the Edit menu to allow elements to be resized
without requiring use of the mouse buttons.
Guidelines
RequiredIf the Size choice is included on the Window menu (in the menu bar) do not
make it available on the window menu.
RequiredIf sizing borders or handles are not automatically displayed for an
element or group of elements when they are selected, display them when the
user chooses Size, and remove them when the Size operation is completed.
RequiredWhen the user selects Size from a pop-up menu on a sizing border or
handle, begin sizing the corner or edge to which it corresponds.
RequiredWhen sizing handles are used and the user selects Size from a menu, other
than one popped up on a handle, wait until the user does one of the
following:
Clicks the SELECT button or presses SELECT and moves the pointer on a
sizing handle, which initiates sizing of the corresponding corner or edge
Presses a directional key
RequiredWhen sizing borders are used and the user selects Size from a menu, other
than one popped up on a border, and either the pointer position after choosing
Size is not within the area bounded by the sizing border or pointer warping is
not enabled, then wait until the user does one of the following:
Moves the pointer into the area bounded by the sizing borders
Presses a directional key
RequiredWhen sizing borders are used and the user selects Size from a menu, other
than one popped up on a border, warp the pointer to the center of the area
bounded by the sizing border when the following is true:
The pointer position after choosing Size is not within the area bounded by
the sizing border
Pointer warping is enabled
RequiredWhen the pointer is within the area bounded by the sizing border but the
corner or edge to be used for sizing is not yet determined, then the first
border touched by the pointer determines the corner or edge to be used for
sizing.
RequiredIf the corner or edge to be resized is not determined, then when the user
presses a directional key, determine the edge to be resized (for example, when
the user presses ^, choose the top edge, and so on), but do not move
the edge.
RequiredIf an edge to be resized has been determined, when the user presses a
directional key corresponding to the orthogonal direction, begin resizing the
corner between them, but do not move it. (For example, if the left edge is
being resized and the user types ^, begin resizing the top-left
corner).
RequiredIf the user chooses a corner or a horizontal edge for resizing and presses
< (or >), move the edge or corner one pixel to the left (or
right); if augmented by the Ctrl key, move the edge or corner by multiple
pixels. The same should also apply for vertical movement. If warping is
enabled, the pointer should move with the corner or edge.
RequiredIf the user presses Enter or keypadEnter, complete the sizing operation.
If the user presses Cancel, cancel it. If the user presses Help, suspend the
sizing and provide help, if available.
RequiredIf the user is performing a size operation and releases the SELECT button
(if it is pressed) or clicks the SELECT button (if it is not pressed), move
the corner or edge being resized to the pointer location and complete the
sizing operation.
RecommendedIf you provide a Size choice for a window, also provide a sizing border
that allows a user to change its size.
Essential Related Topics
For more information, see the Window Menu reference page.
Supplemental Related Topics
For more information, see the Direct Manipulation, Maximize (Choice),
Minimize (Choice), and Restore (Choice) reference pages.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]