Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.11.0
-
None
-
-
4e11d09fdef369af130c86a81df599ee3273ac7d
Description
Following code:
ItemDelegate {
height: 100
width: 200
padding: 0
contentItem: Rectangle { color: "blue" }
}
With Qt 5.9 this would paint the contentItem Rectangle the same size as the ItemDelegate itself. However, with Qt 5.11.0 (didn't test 5.10) this would add top and bottom padding to the contentItem. In order to achieve the same result as before, one now has to set:
padding: 0
topPadding: 0
bottomPadding: 0
This seems like wrong behavior and a regression to me.
Attachments
For Gerrit Dashboard: QTBUG-69551 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
235161,2 | Doc: add a note about the best way to set padding | 5.11 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |