问题描述
何时使用此功能以及何时使用其他功能?我个人可以在两种不同的模式之间切换,应该使用切换按钮,但是我需要说服一些人在工作。关于这个问题的任何正式的UI文学?谢谢
When to use this functionality and when to use the other? I personally thing that to switch between two different modes one should use a toggle button but i need to convince some people at work. any formal UI literature on the subject? thanks
推荐答案
我没有参考,但作为一个用户,我可以告诉你我会期望什么。
I don't have references for you, but as a user I can tell you what I would expect.
当您将一个动作替换为另一个动作时,我会期待按钮更改图像,因为您输入了其他模式。这与保存在工具栏等中的实际情况非常相关。例如,您可以具有专用的播放按钮和停止按钮,其中一个始终被禁用。使用一个按钮可以节省空间,因为在任何时候都不会启用。
I would expect the button to change images when you substitute one action for another because you entered a different mode. This is really relevant to save real estate in your toolbars, etc. For example you could have a dedicated play button and stop button with one always being disabled. Using one button saves space since at no point will both be enabled.
当有一种模式启用或禁用时,我会期望一个正常的按下/未切换的切换按钮。一个例子就是Eclipse中的切换标记出现。禁止该切换按钮不构成新的动作,而是禁用活动模式。
I would expect a normal depressed/unpressed toggle button when there is one mode that you either enable or disable. An example of this is "Toggle Mark Occurrences" in Eclipse. Unpressing that toggle button does not constitute a new action, but rather disabling an active mode.
这篇关于切换按钮与图像更改按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!