diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2017-11-12 13:33:25 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2017-11-17 20:28:34 +0000 |
commit | ba2f3a156ebc9ce3e6b6e59e231a5c2847163671 (patch) | |
tree | a30f85026a2046dd16f7f346da40ee5a5732a65a /src/widgets/graphicsview | |
parent | 5c0a9fc532d70ae784cca3e16b5fe59862902815 (diff) |
QTreeView: recalculate row heights in hide/showColumn()
When calling QTreeView::hideColumn() the row heights are not
recalculated. This can lead to rows which are unnecessarily high due to
hidden columns may contain large (e.g. multiline) content. The same
applies to showColumn() - there the row might be to small.
Hiding columns directly via QTreeView::header()->hideSection() is not
covered by this patch since QHeaderView has no way to inform about
newly shown/hidden sections.
Task-number: QTBUG-8376
Change-Id: I20b1198e56e403ab8cf649af76e5e2280821dd68
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/graphicsview')
0 files changed, 0 insertions, 0 deletions