Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1, 5.3.0
-
None
-
ca06986af37dad834afe7f6c81eb20d0751c6d78
Description
TableView header delimiter double-click works incorrectly for 1 and 2 rows
1 row: column resize doesn't work completely
2 rows: column resize adopt to 2nd row, no matter what width is required for 1st row.
3 rows: it works correctly
Example
import QtQuick 2.1 import QtQuick.Controls 1.0 TableView { width: 800 height: 600 model: ListModel { ListElement { column1: "111111111111111" column2: "1" } ListElement { column1: "1111111111111111111111111111111111111" column2: "1" } ListElement { column1: "1111111111111111111111" column2: "1" } } TableViewColumn { role: "column1" title: "column1" width: 120 } TableViewColumn { role: "column2" title: "column2" width: 120 } }
Attachments
For Gerrit Dashboard: QTBUG-39337 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
86807,1 | TableViewColumn: Process all the rows in resizeToContents() | stable | qt/qtquickcontrols | Status: MERGED | +2 | 0 |