Project

General

Profile

Actions

Bug #1101

closed

WSlider ignores style class

Added by Arjan Vermeij over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/14/2011
Due date:
% Done:

0%

Estimated time:

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?

Actions #1

Updated by Koen Deforche over 12 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

Actions #2

Updated by Koen Deforche over 12 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

Actions #3

Updated by Koen Deforche almost 12 years ago

  • Status changed from Resolved to Closed

Fixed in 3.2.1

Actions

Also available in: Atom PDF