Project

General

Profile

Actions

Bug #674

closed

WSpinBox

Added by Boris Nagaev over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
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);
Actions #1

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

Actions #2

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF