Prevent theme application for specific widgets
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.
Updated by Roel Standaert over 4 years ago
We'll detect if
list-group-item is set and not add
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).