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]