Spin buttons redesign

Current Spinnin buttons

aoAJgIfyJI

Problems:

  • they take too much space
  • they are hard to use
  • they don't work with click and drag
  • they are not touched or pen input friendly
  • they don offer granular control
  • hey don't support keyboard modifiers (holding shift they have bigger steps holding alt they have smaller steps)

1 Design - buttons

image

2 Design - no buttons

version without any buttons only hover states on mouse cursors

ezgif.com-gif-maker__1_

3 Design - buttons on hover

yHDpSKi3Ur

Features

  • - Use blenders spinuton as a base for our design
  • - they are more compact and cleaner looking
  • - they are responsive
  • - you can drag inside them
  • - you can type into them
  • - you can click arrows
  • - you can shift + click arrows to x 10 of icrement
  • - you can ctrl + click arrows to x 0.1 of icrement
  • - you can scroll to change values
  • - you can reset to the default value by clicking middle button
  • - you can choose from a dropdown preset
  • - keyboard arrow up/down in the editing box should increment/decrement values.
  • - you can press shift + arrows to x 10 of icrement
  • - you can press ctlr + arrows to x 0.1 of icrement
  • - Expressions(math operations) should be supported, not just simple numbers (including adding arbitrary units). examleps 1px*20cm, 20/2 , (20px/4)*8in, 10-4.34
  • you can scroll up and down in to actively clicked field to increase or dicris value
  • - they should be somehow acasebl to system readers and be accessible for ppl with eyes prooblems , screenredares etc(this needs more exploring what exactly is needed)
  • [ ]
  • - it needs to comply to gtk theming et least to some extend
  • - it should have Perpetual move cursor inbox#9 (comment 359202493)
Edited by Adam Belis