From a853e5d83cc95acc39f9d81fc1dc9bf4c50962f6 Mon Sep 17 00:00:00 2001 From: Rhys Mainwaring Date: Tue, 13 Sep 2022 10:53:11 +0100 Subject: [PATCH] Fix display of Pose3d and Vector3d (#1680) - Pose3d and Vector3d were not displaying on macOS Signed-off-by: Rhys Mainwaring --- src/gui/plugins/component_inspector/Pose3d.qml | 1 + src/gui/plugins/component_inspector/Vector3d.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gui/plugins/component_inspector/Pose3d.qml b/src/gui/plugins/component_inspector/Pose3d.qml index bfb48b4b56..f58e4b7e58 100644 --- a/src/gui/plugins/component_inspector/Pose3d.qml +++ b/src/gui/plugins/component_inspector/Pose3d.qml @@ -103,6 +103,7 @@ Rectangle { GzPose { id: gzPoseInstance Layout.fillWidth: true + Layout.preferredWidth: parent.width readOnly: { var isModel = entityType == "model" diff --git a/src/gui/plugins/component_inspector/Vector3d.qml b/src/gui/plugins/component_inspector/Vector3d.qml index b33e18b426..5c09b689ed 100644 --- a/src/gui/plugins/component_inspector/Vector3d.qml +++ b/src/gui/plugins/component_inspector/Vector3d.qml @@ -97,6 +97,7 @@ Rectangle { GzVector3 { id: gzVectorInstance Layout.fillWidth: true + Layout.preferredWidth: parent.width gzUnit: model && model.unit != undefined ? model.unit : 'm' xValue: model.data[0]