macos:Positioning-small-and-mini-controls-in-a-window-body

出自UXGuide.net

跳转到: 导航, 搜索

Positioning Small and Mini Controls in a Window Body

目录


Use smaller versions of controls only when necessary. Your first choice in designing for Aqua should always be to use the regular-size controls.

You can use the smaller versions of controls when space is at a premium, such as in tool panels, other types of panels, or Automator actions (for more information on Automator, see “Automator”). Avoid mixing different sizes of controls in the same window. In a window with multiple panes, it is acceptable to use small or mini controls within the pane and standard controls outside the pane. However, all panes of a window should use controls of the same size.

Layout Example for Small Controls

Figure 16-13 shows a well designed panel with small controls.

Figure 16-13 Example of a panel with small controls

lyoutsmallcontrolssample.jpg

As you do when using regular-size controls, you should use the center-equalized approach to laying out small controls. This visually balanced layout can be seen in Figure 16-14.

Figure 16-14 Center-equalization in a panel with small controls

lyoutsmallcontrolscenter.jpg

Small controls, like regular-size controls, should be aligned vertically when stacked. In addition, similar controls should have consistent widths and be aligned with each other, as shown in Figure 16-15.

Figure 16-15 Alignment of labels and controls in a panel with small controls

lyoutsmallcontrolsalign.jpg

Consistent use of white space is as important in windows with small controls as it is in windows with regular-size controls. For example, in Figure 16-16, you can see:

In addition, the panel shown in Figure 16-16 uses a 14-pixel margin between the title bar and the top item in the window. To save space while creating distinct sections of controls, the example window uses bold font to label each section, instead of using horizontal separators or group boxes.

Figure 16-16 Layout of a panel with small controls

lyoutsmallcontrols.jpg

Layout Example for Mini Controls

Figure 16-17 shows a well designed panel with mini controls. As you can see, this window observes the principles of center equalization, text and control alignment, and visual balance. In particular, notice that:

Figure 16-17 Example of a panel with mini controls

lyoutminicontrolsexample.jpg

In addition, the panel uses white space in a consistent way. For example, in Figure 16-18, you can see:

In addition, the panel shown in Figure 16-18 uses a 10-pixel margin between the title bar and the top item in the window. To save space while creating distinct sections of controls, the example window uses bold font to label each section, instead of using horizontal separators or group boxes.

Figure 16-18 Layout of a panel with mini controls

lyoutminicontrols.jpg

个人工具
名字空间
变换
动作
导航
工具箱