Actions
Bug #5550
closed
SR
YG
Prevent theme application for specific widgets
Bug #5550:
Prevent theme application for specific widgets
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.
RS Updated by Roel Standaert over 9 years ago
- Status changed from New to InProgress
- Assignee set to Yoika Ghysens
RS Updated by Roel Standaert over 9 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).
YG Updated by Yoika Ghysens over 9 years ago
- Status changed from InProgress to Implemented @Emweb
RS Updated by Roel Standaert over 9 years ago
- Status changed from Implemented @Emweb to Resolved
RS Updated by Roel Standaert over 9 years ago
- Status changed from Resolved to Closed
Actions