File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,13 +188,13 @@ Item
188188 id: dockButton
189189 anchors
190190 {
191- verticalCenter: collapseButton .verticalCenter
191+ verticalCenter: modeToggleSwitch .verticalCenter
192192
193193 right: collapseButton .left
194194 rightMargin: UM .Theme .getSize (" thin_margin" ).width
195195 }
196196 iconSource: Qt .resolvedUrl (settingsDocked ? " ../icons/settings_undock.svg" : " ../icons/settings_dock.svg" )
197- width: UM .Theme .getSize (" default_arrow" ).width + UM .Theme .getSize (" default_lining" ).width
197+ width: UM .Theme .getSize (" default_arrow" ).width + 2 * UM .Theme .getSize (" default_lining" ).width
198198 height: width
199199 color: UM .Theme .getColor (" small_button_text" )
200200
@@ -210,14 +210,13 @@ Item
210210 id: collapseButton
211211 anchors
212212 {
213- top: parent .top
214- topMargin: UM .Theme .getSize (" default_margin" ).width
213+ verticalCenter: modeToggleSwitch .verticalCenter
215214
216215 right: parent .right
217216 rightMargin: UM .Theme .getSize (" default_margin" ).width
218217 }
219218 iconSource: UM .Theme .getIcon (" Cancel" )
220- width: UM .Theme .getSize (" default_arrow" ).width + UM .Theme .getSize (" default_lining" ).width
219+ width: UM .Theme .getSize (" default_arrow" ).width + 2 * UM .Theme .getSize (" default_lining" ).width
221220 height: width
222221 color: UM .Theme .getColor (" small_button_text" )
223222
You can’t perform that action at this time.
0 commit comments