Skip to content

Commit

Permalink
Fix Qt5 warnings for using anchors (#363)
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova authored and chapulina committed Mar 9, 2021
1 parent f7deeba commit 5f28689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/plugins/component_inspector/Pose3d.qml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Rectangle {
sourceSize.height: indentation
sourceSize.width: indentation
fillMode: Image.Pad
anchors.verticalCenter: parent.verticalCenter
Layout.alignment : Qt.AlignVCenter
source: content.show ?
"qrc:/Gazebo/images/minus.png" : "qrc:/Gazebo/images/plus.png"
}
Expand Down
2 changes: 1 addition & 1 deletion src/gui/plugins/component_inspector/Vector3d.qml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Rectangle {
sourceSize.height: indentation
sourceSize.width: indentation
fillMode: Image.Pad
anchors.verticalCenter: parent.verticalCenter
Layout.alignment : Qt.AlignVCenter
source: content.show ?
"qrc:/Gazebo/images/minus.png" : "qrc:/Gazebo/images/plus.png"
}
Expand Down

0 comments on commit 5f28689

Please sign in to comment.