Actions
Bug #674
closedWSpinBox
Start date:
01/08/2011
Due date:
% Done:
0%
Estimated time:
Description
If setValue called before setRange, WSpinBox is colored red with suitable (default) value
// is white (correct)
spin_box_ = new Wt::WSpinBox(this);
spin_box_->setRange(min, max);
spin_box_->setValue(default_value);
// is red (incorrect)
spin_box_ = new Wt::WSpinBox(this);
spin_box_->setValue(default_value);
spin_box_->setRange(min, max);
Updated by Koen Deforche over 13 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Oops.
Updating the range indeed did not revalidate the contents.
Fixed in latest git.
Regards,
koen
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed
Actions