-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
-
ff9157d21 (dev)
Documentation is not very clear about the textRole & custom Delegate.
If we define the custom delegate, text role is not applicable.
Explicit mention of the above statement will help the developers.
Code Snippet
HorizontalHeaderView { id: horizontalHeader width: parent.width height: 100 delegate:del2 textRole: "fone_1" model : myModel columnSpacing: 2 rowSpacing: 2 } Component{ id : del2 Rectangle{ implicitWidth: horizontalHeader.width/4; implicitHeight: 50 width: 200;height: 50;color: "blue"; Text { text : fone_1 } }
For Gerrit Dashboard: QTBUG-131322 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
604742,28 | Doc: Update HorizontalHeaderView Documentation of the property textRole | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |