用于用户界面缩放(放大/缩小)行为的标准键是什么

发布于 2024-11-09 06:17:37 字数 179 浏览 0 评论 0原文

我们正在开发一个使用绘图来显示数据的应用程序。我们允许放大和缩小 - 无需上下滚动。

双击用于放大,退格键用于缩小。 + 和 - 键用于放大和缩小

我们无法标准化向上和向下箭头 - 向上箭头通常意味着放大或缩小吗?

我们正在编写代码来进行缩放,这是一个 UI 问题 - 如果有更好的网站,请迁移。

We are developing an application that uses a plot to show data. We allow zooming in and out - no scrolling up and down is necessary.

Double click is used to zoom in, backspace to zoom out. + and - keys are zoom in and out

We have been unable to standardize on up and down arrows - does an up arrow typically mean zoom in or zoom out?

We are writing the code to do the zoom and it is a UI question - if there is a better site, please migrate.

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

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

发布评论

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

评论(4

兲鉂ぱ嘚淚 2024-11-16 06:17:53

为了补充所有这些好的答案...... Microsoft 放大镜(Intellipoint 软件免费提供的放大镜,而不是操作系统附带的放大镜)使用另一种方案:一旦放大镜可见,如果您按住向下滚轮一秒,然后向上/向下滚轮开始控制放大/缩小。在第二次超时之前,当前窗口的滚轮正常工作。

To add onto to all these good answers... the Microsoft magnifier (the one that comes for free with the Intellipoint software, as opposed to the one that comes with the OS) uses another scheme: once the magnifier is visible, if you hold down the scroll wheel for a second, then the scroll wheel up/down begins to control the zoom in/out. Before this second timeout, the scroll wheel functions normally for the current window.

别念他 2024-11-16 06:17:50

我不知道为什么你允许这么多不同的方法来放大和缩小;与其他应用程序的一致性表明,如果您的应用程序不进行滚动,则箭头根本不应该执行任何操作。

如果您坚持,我会使用向上箭头进行放大(使物体变大),使用向下箭头进行缩小。向上对应于+,向下对应于-,我认为这是最不令人困惑的。

当您想知道滚轮应该做什么时,请检查这个旧的 Joel On Software 线程: http://discuss.joelonsoftware.com/default.asp?design.4.630539.38

I'm not sure why you're allowing so many different methods for zooming in and out; consistency with other applications would suggest that if your app doesn't do scrolling, the arrows shouldn't do anything at all.

If you insist, I'd use up arrow for zooming in (making things larger) and down arrow for zooming out. Up would correspond with + and down would correspond with -, I think that would be the least confusing.

When you get around to wondering what the scroll wheel should do, check this old Joel On Software thread: http://discuss.joelonsoftware.com/default.asp?design.4.630539.38

梦回梦里 2024-11-16 06:17:47

Ctrl + + / -Ctrl “鼠标滚轮” 是网络浏览器的常用缩放键。

如果缩放是常见操作,图像查看器/编辑器和其他专用软件可能会省略 Ctrl 修饰符...

Ctrl + + / - and Ctrl "Mouse Wheel" are the common zoom keys for web browsers.

Image viewers/editors and other specialized software might omit the Ctrl modifier if zooming is a common operation...

小帐篷 2024-11-16 06:17:45

双击进行缩放和退格键进行缩小似乎不是一个直观的选择。

我想说 +/- 作为缩放键是有意义的,就像浏览器一样,但前提是您将它​​们与 CTRL 修饰符结合起来。

箭头键绝对不能用于缩放。箭头键表示移动插入符,或在没有插入符时滚动。切勿使用它们进行缩放。

Double-click to zoom and backspace to zoom out do not seem like an intuitive choice.

I'd say that +/- would make sense as zoom keys, like browsers do, but only if you combined them with a CTRL modifier.

Arrow keys are an absolute no-no for zoom. Arrow keys mean move caret, or scroll when there is no caret. Never use them for zoom.

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