Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.2, 6.6
-
-
3b6c8d305 (dev), d8d6153eb (6.7), efdc7318d (6.6), c17ac381f (tqtc/lts-6.5)
Description
If you use a QML rectangle with rounded corners and border width = 1, the anti-aliasing of the rounded lines doesn't look good (quite blurry).
QML example:
import QtQuick import QtQuick.Controls Window { id: root visible: true width: 300 height: 200 Rectangle { anchors.centerIn: parent width: 200 height: 100 radius: height/2 color: "white" border.width: 1 border.color: "blue" } }
Note: ** If the border width is set to 2, the result of the anti-aliasing looks much better.
Attachments
For Gerrit Dashboard: QTBUG-123210 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
548316,4 | Document Rectangle's border.pixelAligned property | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
549091,2 | Document Rectangle's border.pixelAligned property | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
551509,2 | Document Rectangle's border.pixelAligned property | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
551569,2 | Document Rectangle's border.pixelAligned property | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |