Skip to content

Conversation

imagejan
Copy link
Member

@imagejan imagejan commented Oct 3, 2017

This adds mouse wheel scrolling to sliders and scroll bars created with script parameters, e.g.:

#@ int (style="slider", min=0, max=10) a
#@ double (style="slider", min=10, max=20) b
#@ int (style="scroll bar", min=20, max=30) c

Decrease/increase by scrolling is in integer steps, as those UI widgets currently only support int values (while the underlying model as well as the spinner do support floating point decimals as well). See also #31.

@imagejan imagejan force-pushed the mouse-wheel-sliders branch from 24ede95 to 0866e03 Compare November 3, 2017 15:54
@imagejan
Copy link
Member Author

imagejan commented Nov 3, 2017

I rebased this over your latest changes, @ctrueden.

@ctrueden ctrueden merged commit edee8fc into scijava:master Nov 3, 2017
@ctrueden ctrueden deleted the mouse-wheel-sliders branch November 3, 2017 16:01
@ctrueden
Copy link
Member

ctrueden commented Nov 3, 2017

🖱 🎡 🎚 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants