开发者

Standard placement order for common buttons

I know that in Microsoft Windows, OK/Cancel buttons normally appear in this respe开发者_C百科ctive order. On the other hand, in Linux distros, I often saw Cancel/OK instead.

What about (Yes/No), (Yes/No/Cancel), (Add/Edit/Remove) and other common buttons?

Is there any standard placement order for these?


From the Microsoft Windows User Experience Interaction Guidelines:

Right-align commit buttons in a single row across the bottom of the dialog box, but above the footnote area. Do this even if there is a single commit button (such as OK).

Present the commit buttons in the following order:

  1. OK/[Do it]/Yes
  2. [Don't do it]/No
  3. Cancel
  4. Apply (if present)
  5. Help (if present)

From the Apple Human Interface Guidelines:

The buttons at the bottom right of a dialog all dismiss the dialog. A button that initiates an action is furthest to the right. This action button confirms the alert message text. The Cancel button is to the left of this button.

If there’s a third button for dismissing the dialog, it should go to the left of the Cancel button. If the third button could result in data loss—Don’t Save, for example—position it at least 24 pixels away from the “safe” buttons (Cancel and Save, for example).

A button that affects the contents of the dialog itself, such as Reset, should have its left edge aligned with the main dialog text or if there is a Help button, 12 pixels to the right of it.

From the Java Look and Feel Design Guidelines:

If a dialog box has a default button, make it the first command button in the group. For example, in languages that read from left to right, the default button is the leftmost button.

Some of the above conflict with one another. You may also find that the advice conflicts with the vendors own applications. However, I would follow the guidelines for your operating system of choice and stick with them. At least that way you have consistancy within your own output and hopefully the vast majority of other apps on your platform.


Microsoft recommends one, Apple another.

Survey here shows 50/50 split: http://measuringuserexperience.com/SubmitCancel/index.htm

This page has also links to official UI guidelines, which answer your question for some OSes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜