Skip to content

Commit 5f28689

Browse files
luca-della-vedovachapulina
authored andcommitted
Fix Qt5 warnings for using anchors (#363)
Signed-off-by: Luca Della Vedova <[email protected]>
1 parent f7deeba commit 5f28689

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gui/plugins/component_inspector/Pose3d.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Rectangle {
134134
sourceSize.height: indentation
135135
sourceSize.width: indentation
136136
fillMode: Image.Pad
137-
anchors.verticalCenter: parent.verticalCenter
137+
Layout.alignment : Qt.AlignVCenter
138138
source: content.show ?
139139
"qrc:/Gazebo/images/minus.png" : "qrc:/Gazebo/images/plus.png"
140140
}

src/gui/plugins/component_inspector/Vector3d.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Rectangle {
9595
sourceSize.height: indentation
9696
sourceSize.width: indentation
9797
fillMode: Image.Pad
98-
anchors.verticalCenter: parent.verticalCenter
98+
Layout.alignment : Qt.AlignVCenter
9999
source: content.show ?
100100
"qrc:/Gazebo/images/minus.png" : "qrc:/Gazebo/images/plus.png"
101101
}

0 commit comments

Comments
 (0)