qt5base-lts/tests/auto/widgets/itemviews/qtreeview
Christian Ehrlicher ba2f3a156e 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>
2017-11-17 20:28:34 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Blacklist tst_QTreeView::setSortingEnabledChild() on Windows. 2016-02-24 08:20:11 +00:00
qtreeview.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qtreeview.cpp QTreeView: recalculate row heights in hide/showColumn() 2017-11-17 20:28:34 +00:00