Bug #1856
closedWTable bad render in Chrome
0%
Description
WTable border is not rendered well on Chrome. It works fine on Firefox and Opera. See the attached pictures.
I'm using bootstrap theme and the code is simply:
WTable *table = new WTable() ;
table->setStyleClass("table table-striped table-bordered") ;
table->setHeaderCount(1,Horizontal) ;
table->setHeaderCount(1,Vertical) ;
All put inside a WVBoxLayout with an stretch added below the table.
Files
Updated by Koen Deforche over 11 years ago
- Status changed from New to Feedback
Hey,
When using form elements inside a table, I think it will help if you add 'form-inline' to the table classes as well, and perhaps resolve the issue ?
Regards,
koen
Updated by Miguel Revilla over 11 years ago
form-inline is not helping, sorry. Forgot to mention that the issue appeared even before adding the radiobuttons to the table, with just empty cells and the WTexts for the row and column headers. I've tried with IE and works fine. Looks like is something very Chrome specific (but it might be an upstream bug and not Wt's).
Updated by Koen Deforche over 11 years ago
- Status changed from Feedback to InProgress
Updated by Koen Deforche over 11 years ago
- Status changed from InProgress to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.1
Hey,
I can confirm the issue. This seems to be a bug in Chrome with border-collapse and box-sizing, which fortunately is easy enough to work around.
Regards,
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed