Project

General

Profile

Bug #5550

Prevent theme application for specific widgets

Added by Saif Rehman over 4 years ago. Updated over 4 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.

#1

Updated by Roel Standaert over 4 years ago

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

Updated by Roel Standaert over 4 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).

#3

Updated by Yoika Ghysens over 4 years ago

  • Status changed from InProgress to Implemented @Emweb
#4

Updated by Roel Standaert over 4 years ago

  • Status changed from Implemented @Emweb to Resolved
#5

Updated by Roel Standaert over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF