Bug #11380
closedWTableView not displaying checkboxes when used with BootStrap5 theme.
0%
Description
WTableView is not displaying checkboxes. If the theme is set to Booststrap5. If the below code line in commented out, the check boxes display correctly.
setTheme(std::make_shared<Wt::WBootstrap5Theme>());
Files
Updated by Roel Standaert about 2 years ago
- File tableview_check.cpp tableview_check.cpp added
- Status changed from New to Feedback
I tried it out to see, but while I will certainly concede that the result doesn't look great, it does appear to work (see the attachment for the code I used).
What are you doing differently from my test code?
Updated by Gavin Blakeman about 2 years ago
Hi Roel,
Thank you for looking into this.
While I was writing a much longer response (since deleted) after doing some testing, I realised that I was using a custom booststrap5 css theme. When I include the custom theme
useStyleSheet(appRoot() + "resources/css/bootstrap.min.css");
I then get the same problem with your code. So the problem is probably in the custom theme I am using.
This gives me a place to go looking.
This bug is not a bug and can be closed.
Thank you again.
Updated by Roel Standaert about 2 years ago
- Status changed from Feedback to Closed