diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-10 21:47:08 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-10 21:47:08 +0000 |
| commit | 5544404f7a89a3d7e781f5e57d1271076485c91c (patch) | |
| tree | f1d97d7bf5723b80da09ccdcaf67d1f3ff01b733 /test/valuators.fl | |
| parent | b67ba50f147534bcf2beb3305dbcf24e20ff2e72 (diff) | |
Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989).
Previously Up/Down keys worked only if one of the buttons was pressed
before so that it had the focus.
test/valuators.fl: The second Fl_Spinner widget (FL_FLOAT_INPUT) now has
wrap mode disabled whereas the first one (FL_INT_INPUT) uses wrap mode
(default, compatible with FLTK 1.3.x and older).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/valuators.fl')
| -rw-r--r-- | test/valuators.fl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/valuators.fl b/test/valuators.fl index 5df70e55c..4d740808c 100644 --- a/test/valuators.fl +++ b/test/valuators.fl @@ -154,6 +154,7 @@ Function {} {open Fl_Spinner {} { label FL_FLOAT_INPUT xywh {465 216 80 24} type Float labelsize 8 align 2 minimum 0 maximum 1 step 0.01 value 0.05 + code0 {o->wrap(0); // disable wrap mode} } Fl_Box {} { label Fl_Dial |
