Skip to content

Commit b00482e

Browse files
committed
Tweak setting panel close/undock buttons
1 parent 9db20da commit b00482e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

resources/qml/ProfileSelector50.qml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)