Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.2
-
None
-
-
e1cc06972a42e2bae51b027737919445d0e675f7 (qt/qtdeclarative/5.14)
Description
When a TableView 2 row count changes from a large size to empty, the tableview does not adjust it's content height, maintaining the previous height. Resulting in an oversized empty table that still visualises scrollbars needlessly.
I have attached an example with Large, Empty and Small model. Switching between "Large" and "Small" will result in a correctly sized table. Switching between "Large" and "Empty" will result in a tableview which still maintains the size of the "Large" model.
Attachments
For Gerrit Dashboard: QTBUG-80505 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283858,5 | QQuickTableView: set empty content size when table is empty | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |