Skip to content

Commit 107516c

Browse files
committed
Tweak undock icon appearance
1 parent 85ec394 commit 107516c

4 files changed

Lines changed: 9 additions & 104 deletions

File tree

resources/icons/settings_dock.svg

Lines changed: 1 addition & 47 deletions
Loading

resources/icons/settings_undock.svg

Lines changed: 2 additions & 49 deletions
Loading

resources/qml/ProfileSelector40.qml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ Item
4444
id: dockButton
4545
anchors
4646
{
47-
top: parent.top
48-
topMargin: UM.Theme.getSize("default_margin").width
47+
verticalCenter: collapseButton.verticalCenter
4948

5049
right: collapseButton.left
5150
rightMargin: UM.Theme.getSize("thin_margin").width
5251
}
5352
iconSource: settingsDocked ? "../icons/settings_undock.svg" : "../icons/settings_dock.svg"
54-
width: UM.Theme.getSize("default_arrow").width
55-
height: UM.Theme.getSize("default_arrow").height
53+
width: UM.Theme.getSize("print_setup_icon").width
54+
height: UM.Theme.getSize("print_setup_icon").height
5655
color: UM.Theme.getColor("small_button_text")
5756

5857
onClicked:

resources/qml/ProfileSelector44.qml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,14 @@ Item
188188
id: dockButton
189189
anchors
190190
{
191-
top: parent.top
192-
topMargin: UM.Theme.getSize("default_margin").width
191+
verticalCenter: collapseButton.verticalCenter
193192

194193
right: collapseButton.left
195194
rightMargin: UM.Theme.getSize("thin_margin").width
196195
}
197196
iconSource: settingsDocked ? "../icons/settings_undock.svg" : "../icons/settings_dock.svg"
198-
width: UM.Theme.getSize("default_arrow").width
199-
height: UM.Theme.getSize("default_arrow").height
197+
width: UM.Theme.getSize("print_setup_icon").width
198+
height: UM.Theme.getSize("print_setup_icon").height
200199
color: UM.Theme.getColor("small_button_text")
201200

202201
onClicked:

0 commit comments

Comments
 (0)