Project

General

Profile

Actions

Bug #512

closed

WPushButton versus WDialog style class inconsistencies

Added by Koen Deforche over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
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.

Actions #1

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

Actions #2

Updated by Koen Deforche over 10 years ago

  • Status changed from New to Resolved
  • Target version set to 3.3.0
Actions #3

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF