{"comment":{"url":"https://api.github.com/repos/scijava/scijava-common/comments/14537327","html_url":"https://github.com/scijava/scijava-common/commit/c0ffe3956e8ccc08cc633ade9b00bb31a43f0de2#commitcomment-14537327","id":14537327,"user":{"login":"ctrueden","id":556626,"avatar_url":"https://avatars.githubusercontent.com/u/556626?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrueden","html_url":"https://github.com/ctrueden","followers_url":"https://api.github.com/users/ctrueden/followers","following_url":"https://api.github.com/users/ctrueden/following{/other_user}","gists_url":"https://api.github.com/users/ctrueden/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrueden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrueden/subscriptions","organizations_url":"https://api.github.com/users/ctrueden/orgs","repos_url":"https://api.github.com/users/ctrueden/repos","events_url":"https://api.github.com/users/ctrueden/events{/privacy}","received_events_url":"https://api.github.com/users/ctrueden/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"c0ffe3956e8ccc08cc633ade9b00bb31a43f0de2","created_at":"2015-11-20T21:29:25Z","updated_at":"2015-11-20T21:29:25Z","body":"This is a known but separate issue. JSlider and JScrollBar widgets cannot have a non-integer step size. Just look at their constructors: they work all in `int` values. See [the relevant code](https://github.com/scijava/scijava-ui-swing/blob/scijava-ui-swing-0.7.1/src/main/java/org/scijava/ui/swing/widget/SwingNumberWidget.java#L115-L116).\r\n\r\nTo support non-integer step sizes with sliders or scroll bars, we would need to do something fancy like \"scale up\" the double-precision step size to the closest integer, scale the min and max of the slider accordingly as well, and map the values transparently back and forth from the `JSpinner`. Either that, or implement our own slider and/or scroll bar components that do this internally."}}