sivarajankumar / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

Spinner widget - ability to adjust values through keyboard arrow keys and/or mouse scroll wheel #300

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you want to see this feature/enhancement implemented, please star this 
issue by clicking on the star in the upper left hand corner of this page.

== Enhancement Description ==

The spinner widget would be more complete and useful if the value could be 
adjusted by the keyboard arrow keys and the mouse scroll wheel. Pressing 
the up or right arrows while the text box has focus would increment the 
value and the down and left arrows would decrement it. A mouse scroll up or 
down would do the same respectively.

Note: The volume slider currently does not support getting focus. However, 
if this could be done then it would make tabbing through multiple controls 
while editing them much quicker and would depend less on button clicks.

Original issue reported on code.google.com by mfulto...@gmail.com on 12 Aug 2009 at 7:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Something to consider if implemented:

When a spinner widget gets focus it is very likely that the user intends to do 
one of 
the following:
  1) increment the value,
  2) decrement the value, or 
  3) completely change the value.

As such, when focus is received it would be best for all of the text to be 
selected. 
This way if the user is going to enter a completely new value then they can 
just start 
typing it right away and not have to worry about first selecting all of the 
text.

All of the text should also be highlighted (if it isn't already) after an 
change in 
value if it was invoked by the keyboard arrow keys, by the mouse scroll wheel, 
or by 
the mouse button click on an arrow image.

Original comment by mfulto...@gmail.com on 12 Aug 2009 at 7:26