Ticket #378 (closed defect: fixed)
Opened 2011-03-17T12:40:20-05:00
Last modified 2011-05-26T16:06:23-05:00
Fix buggy Number parameter widgets
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | Plugin Framework | Version: | |
Severity: | serious | Keywords: | |
Cc: | bene.schmid@… | Blocked By: | |
Blocking: |
Description
The plugin framework currently supports multiple "widget styles" which are currently used to provide a hint to the UI regarding which widget to use. We have preliminary Swing implementations for JSpinner, JSlider and JScrollbar + JTextField, but none of them work particularly well. We need to fix the issues with each, so that all are viable choices.
Change History
comment:2 Changed 2011-05-26T16:06:23-05:00 by curtis
- Status changed from new to closed
- Resolution set to fixed
In 63fe2c383daa27575ee2fef46f7db10a901e4e9f the Swing number widget code was simplified and improved. Now a spinner is always used, but can have an optional scroll bar or slider next to it, for convenience.
The ParameterTester plugin demonstrates the usage. Note that currently, sliders and scroll bars only work well with int parameters, with defined minimum and maximum values.