Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Apple Human Interface Guidelines.pdf
Скачиваний:
15
Добавлен:
27.03.2015
Размер:
29.57 Mб
Скачать

C H A P T E R 1 6

Layout Guidelines

Figure 16-16 Layout dimensions for a panel with mini controls

Equal height between section labels and first controls

Equal space on three sides

Grouping Controls in a Window Body

Grouping related controls helps users understand what particular controls do and helps them locate the controls that affect the specific actions they want to perform. This section provides examples of different ways to group controls.

The three examples show different ways to group the same set of controls within a tabbed window using three grouping elements:

White space, shown in Figure 16-18 (page 350)

Separators, shown in Figure 16-20 (page 351)

Group boxes, shown in Figure 16-21 (page 352)

Note that none of these examples are more or less correct than any other. The effectiveness of a layout in your application depends on the overall aesthetic of your other windows as well as your application’s workflow.

Grouping with White Space

White space is an especially useful grouping element when you are dealing with small groups of controls.

Grouping Controls in a Window Body

349

2008-06-09 | © 1992, 2001-2003, 2008 Apple Inc. All Rights Reserved.

C H A P T E R 1 6

Layout Guidelines

Figure 16-17 Example of grouping with white space

Figure 16-18 Layout dimensions using white space

Equal width

on both sides Equal height between section labels and first controls

Equal space on three sides

Grouping with Separators

Separators provide a very efficient use of space and are most useful when space is at a premium.

350

Grouping Controls in a Window Body

2008-06-09 | © 1992, 2001-2003, 2008 Apple Inc. All Rights Reserved.

C H A P T E R 1 6

Layout Guidelines

Figure 16-19 Example of grouping with separators

Figure 16-20 Layout dimensions using separators

Equal height between separator lines and controls

Equal space on three sides

Equal space on three sides

Grouping with Group Boxes

Group boxes provide the strongest visual indication of distinct groups but require the most space within the window.

Grouping Controls in a Window Body

351

2008-06-09 | © 1992, 2001-2003, 2008 Apple Inc. All Rights Reserved.

C H A P T E R 1 6

Layout Guidelines

Figure 16-21 Example of grouping with group boxes

Figure 16-22 Layout dimensions using group boxes

Equal width

on both sides Equal height between group box top edge and first controls

Equal space on three sides

352

Grouping Controls in a Window Body

2008-06-09 | © 1992, 2001-2003, 2008 Apple Inc. All Rights Reserved.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]