Bug #1101
closedWSlider ignores style class
0%
Description
I derived the subject line from http://redmine.emweb.be/issues/742
Also WSlider uses setStyleClass internally, overriding style classes that were added earlier. My suggestion is to replace all occurrences of setStyleClass in WSlider.C with addStyleClass.
I count 88 calls to setStyleClass in total in all source files in src/Wt, 24 to addStyleClass. Perhaps some of those need to be replaced as well?
Updated by Koen Deforche almost 13 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.2.1
Hey,
I think you're right, and because addStyleClass() is somewaht more recent than setStyleClass() an audit is in order.
Regards,
koen
Updated by Koen Deforche almost 13 years ago
- Status changed from InProgress to Resolved
Hey,
The other occurrences of setStyleClass() were mostly okay. You can in fact mix them, but you usually only want to use setStyleClass() in the constructor to avoid overwriting other classes added later.
Regards,
koen