gpt4 book ai didi

user-interface - 常用按钮的标准放置顺序

转载 作者:行者123 更新时间:2023-12-04 16:41:06 26 4
gpt4 key购买 nike

我知道在 Microsoft Windows 中,确定/取消按钮通常按相应的顺序出现。另一方面,在 Linux 发行版中,我经常看到 Cancel/OK。

(是/否)、(是/否/取消)、(添加/编辑/删除)等常用按钮呢?

这些是否有任何标准的放置顺序?

最佳答案

来自微软 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)


来自 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.



来自 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.



以上有些是相互冲突的。您可能还会发现这些建议与供应商自己的应用程序冲突。但是,我会遵循您选择的操作系统的准则并坚持下去。至少通过这种方式,您可以在自己的输出以及平台上的绝大多数其他应用程序中保持一致性。

关于user-interface - 常用按钮的标准放置顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6667271/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com