aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/imports/components/RegularPolygonItem.qml15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/imports/components/RegularPolygonItem.qml b/src/imports/components/RegularPolygonItem.qml
index 555d73f..cf22c7c 100644
--- a/src/imports/components/RegularPolygonItem.qml
+++ b/src/imports/components/RegularPolygonItem.qml
@@ -81,7 +81,12 @@ Shape {
\sa Qt::PenStyle
*/
- property alias strokeStyle: path.strokeStyle
+ //property alias joinStyle: path.joinStyle
+ property int joinStyle: ShapePath.MiterJoin //workaround for regression in Qt 6.6.1 (QDS-11845)
+ //property alias capStyle: path.capStyle
+ property int capStyle: ShapePath.SquareCap //workaround for regression in Qt 6.6.1 (QDS-11845)
+ //property alias strokeStyle: path.strokeStyle
+ property int strokeStyle: ShapePath.SolidLine //workaround for regression in Qt 6.6.1 (QDS-11845)
/*!
The width of the border of the regular polygon.
@@ -124,9 +129,6 @@ Shape {
*/
property alias dashPattern: path.dashPattern
-
- property alias joinStyle: path.joinStyle
-
/*!
The regular polygon fill color.
@@ -175,7 +177,10 @@ Shape {
ShapePath {
id: path
- joinStyle: ShapePath.MiterJoin
+ capStyle: root.capStyle
+ strokeStyle: root.strokeStyle
+ joinStyle: root.joinStyle
+
strokeWidth: 4
strokeColor: "red"
startX: 0