Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.5.1
-
None
Description
If QHeaderView has multiline data, and
header()->resizeSections(QHeaderView::ResizeToContents) is called
or setSectionResizeMode is set to QHeaderView::ResizeToContents,
then section might have too much white space.
EDIT:
in example there is multiline header by default,
comment line 47 in headerData
and uncomment 48 to see how it works for no multilne header.