diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2024-03-06 13:53:50 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2024-03-06 13:52:18 +0000 |
commit | 5683c8ae8fbf22755fd6e4fefe9db0714e49d892 (patch) | |
tree | ca68e06f0da2899c9631188e04f4b34ab5d9d9a2 | |
parent | 42cbf496981267db2d6e0aeb2a473b1acb0c0e2d (diff) |
Use width/height instead of implicit versions
With Qt 6.7 we get issues with implicit sizes.
Task-number: QDS-12174
Change-Id: I8378e35fa66de6aefebd7b0ed959bfb74ef823bd
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
-rw-r--r-- | src/imports/components/ArcItem.qml | 4 | ||||
-rw-r--r-- | src/imports/components/PieItem.qml | 4 | ||||
-rw-r--r-- | src/imports/components/TriangleItem.qml | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/components/ArcItem.qml b/src/imports/components/ArcItem.qml index b71be2d..bd69bdf 100644 --- a/src/imports/components/ArcItem.qml +++ b/src/imports/components/ArcItem.qml @@ -120,8 +120,8 @@ import QtQuick.Shapes 1.12 Shape { id: root - implicitWidth: 100 - implicitHeight: 100 + width: 100 + height: 100 /*! The gradient of the arc fill color. diff --git a/src/imports/components/PieItem.qml b/src/imports/components/PieItem.qml index 230ccf5..b659967 100644 --- a/src/imports/components/PieItem.qml +++ b/src/imports/components/PieItem.qml @@ -97,8 +97,8 @@ import QtQuick.Shapes 1.12 Shape { id: root - implicitWidth: 100 - implicitHeight: 100 + width: 100 + height: 100 /*! The gradient of the pie fill color. diff --git a/src/imports/components/TriangleItem.qml b/src/imports/components/TriangleItem.qml index df170cc..b936eca 100644 --- a/src/imports/components/TriangleItem.qml +++ b/src/imports/components/TriangleItem.qml @@ -101,8 +101,8 @@ import QtQuick.Shapes 1.12 Shape { id: root - implicitWidth: 100 - implicitHeight: 100 + width: 100 + height: 100 /*! The gradient of the triangle fill color. |