Project

General

Profile

Actions

Bug #5550

closed

Prevent theme application for specific widgets

Added by Saif Rehman about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/12/2017
Due date:
% Done:

0%

Estimated time:

Description

Hey,

I'm trying to use bootstrap's list group with WPushButtons as list group items, and according to their documentation the classes btn and btn-default should not be applied to those buttons but I can't prevent the theme application on the buttons. I think there should be an option to prevent theme application for class WWidget.

Actions #1

Updated by Roel Standaert about 7 years ago

  • Status changed from New to InProgress
  • Assignee set to Yoika Ghysens
Actions #2

Updated by Roel Standaert about 7 years ago

We'll detect if list-group-item is set and not add btn and btn-default in that case.

I'm not sure about the option to prevent the theme application, I will have to think about that (and discuss it). You can always create a derived class of WBootstrapTheme that doesn't style certain widgets (in the full knowledge that this could break things).

Actions #3

Updated by Yoika Ghysens about 7 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #4

Updated by Roel Standaert about 7 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Roel Standaert about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF