Merge lp:~numerigraphe/openobject-client/6.0-configurable-spinbuttons into lp:openobject-client/6.0
Proposed by
Numérigraphe
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~numerigraphe/openobject-client/6.0-configurable-spinbuttons | ||||
Merge into: | lp:openobject-client/6.0 | ||||
Diff against target: |
52 lines (+7/-2) 3 files modified
bin/options.py (+1/-0) bin/widget/view/form_gtk/spinbutton.py (+3/-1) bin/widget/view/form_gtk/spinint.py (+3/-1) |
||||
To merge this branch: | bzr merge lp:~numerigraphe/openobject-client/6.0-configurable-spinbuttons | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+133088@code.launchpad.net |
Description of the change
I propose to add a configuration key to set the spin buttons' increment.
By setting it to 0 in the configuration file, one can disable spinning altogether. This is seen as a useful improvement by several of our users, because using the mouse wheel to scroll the form actually spins int/float widgets instead if the mouse cursor is on such a widget.
The default remains to increment/decrement by 1.0 on spin.
Lionel Sausin.
To post a comment you must log in.
Unmerged revisions
- 1965. By Numerigraphe - Lionel Sausin <email address hidden>
-
[IMP] Add a configuration option to set the increment of all spinbuttons in the config file. Set to 0.0 to disable spinning (users with wheelmouse hate spinbuttons in forms!)