Flex 4 - 弹出对话框上“确定”/“取消”按钮的标准尺寸和位置?

发布于 2024-10-10 12:39:29 字数 240 浏览 8 评论 0原文

Flex 弹出对话框上常见的“确定”和“取消”按钮的位置(填充)和大小是否有任何标准?

另一个 stackoverflow 问题中,建议该方法依赖于主机操作系统(例如 Windows与 Mac 与 Linux 的比较)。但除非 Flex 有可以帮我处理这方面的东西,否则我真的不想去那里。

Is there any kind of a standard for the location (padding) and size of the usual "ok" and "cancel" buttons on a Flex pop-up dialog box?

In another stackoverflow question it was suggested that the approach be host operating system dependent (e.g. Windows vs Mac vs Linux). But unless Flex has something that handles that aspect for me, I really don't want to go there.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜空下最亮的亮点 2024-10-17 12:39:29

从用户体验的角度来看,重要的部分是在 Web 应用程序中保持一致,而不是匹配主机操作系统。话虽如此,在做出决定时,我会考虑您的用户群以及他们中的大多数人使用的平台。

我个人决定在窗口右下角显示“确定”和“取消”按钮,并且这两个按钮大小相同。我还没有收到客户或用户报告的任何问题,尽管一位客户希望颠倒“确定”和“取消”,因为 OSX(和 Windows?)通常按该顺序显示它们。

From a user experience standpoint the important part is to be consistent within your web application rather than matching the host OS. Having said that, I would consider your user base and what platform most of them are on when deciding.

I've personally settled on showing OK and Cancel buttons in the lower right of the window with the two buttons equally sized. I haven't had any issues reported from clients or users, although one client wanted OK and Cancel reversed since OSX (and Windows?) generally displays them in that order.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文