Actions
Bug #512
closedWPushButton versus WDialog style class inconsistencies
Start date:
09/14/2010
Due date:
% Done:
0%
Estimated time:
Description
WDialog::setStyleClass() modifes the style class
WPushButton::setStyleClass() (sometimes) adds a style class in addition to Wt-btn
That is terribly inconsistent.
Updated by Koen Deforche about 14 years ago
Proposal:
- setStyleClass() will always replace the entire style class. This changed behavior (e.g. for WPushButton)
can be supressed using a configuration property ("wt-old-setstyleclass")
- if you want to add/remove a style class in addition to Wt's default style class, then use
addStyleClass() and removeStyleClass() in new code.
Updated by Koen Deforche over 11 years ago
- Status changed from New to Resolved
- Target version set to 3.3.0
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed
Actions