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

C H A P T E R 1 5

Controls

Small with tick marks: 22 pixels.

Small without tick marks: 18 pixels.

Label spacing and fonts: For the labels that describe the range of values, use the following font sizes:

Regular size: Label font.

Small: Label font.

Mini: 9-point label font.

Control spacing: When you display multiple linear sliders, leave the following amounts of space between them:

Regular size: At least 12 pixels.

Small: At least 10 pixels.

Mini: At least 8 pixels.

Slider Control Implementation

Sliders are available in Interface Builder. To create one using Application Kit programming interfaces, use the

NSSlider class.

The Stepper Control (Little Arrows)

The stepper control (also known as little arrows) allows users to increment or decrement values. The control is usually used in conjunction with a text field that indicates the current value. The text field may or may not be editable. Figure 15-52 shows several examples of the stepper control.

Figure 15-52 Stepper controls in a panel

Stepper controls

300

Selection Controls

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

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