Bug #3294
openWTableView::createExtraHeaderWidget() and WTableView::setHeaderHeight() interaction woes
0%
Description
I needed to add an input field just below the table column header by overloading WTableView::createExtraHeaderWidget()
and, of course, by making more room in the header with WTableView::setHeaderHeight()
.
Until I added a call to WTableView::setHeaderAlignment( c,AlignTop )
(for which there is another possible issue reported earlier) the input filed was added but slipped behind the very first table rows thus making it unreachable also because the actual HTML element implementing the table header is higher than the amount specified in the call to WTableView::setHeaderHeight()
.
You can compare the screenshots I am attaching and that I took thanks to Firefox "inspect element" feature.
Please, note the differences in the style statements: they are quite different in the two cases,
Files
Updated by Koen Deforche about 10 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
Without setHeaderAlignment(AlignTop) you will not be able to see the 'extra' header widget, this is on purpose.
Do you still see problems with AlignTop set?
Koen