Skip to content

Commit

Permalink
Fix display of Pose3d and Vector3d (#1680)
Browse files Browse the repository at this point in the history
- Pose3d and Vector3d were not displaying on macOS

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring authored Sep 13, 2022
1 parent ff1c82b commit a853e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/plugins/component_inspector/Pose3d.qml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Rectangle {
GzPose {
id: gzPoseInstance
Layout.fillWidth: true
Layout.preferredWidth: parent.width

readOnly: {
var isModel = entityType == "model"
Expand Down
1 change: 1 addition & 0 deletions src/gui/plugins/component_inspector/Vector3d.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a853e5d

Please sign in to comment.