Some UI polishing

CURA-6598
This commit is contained in:
Jaime van Kessel 2019-08-07 11:27:02 +02:00
parent a3d3580e2a
commit c7b6133e3d
2 changed files with 9 additions and 4 deletions

View file

@ -22,6 +22,7 @@ Button
border.width: 1
border.color: button.checked ? UM.Theme.getColor("setting_control_border_highlight") : "transparent"
color: button.hovered ? UM.Theme.getColor("action_button_hovered") : "transparent"
radius: UM.Theme.getSize("action_button_radius").width
}
// Workarround to ensure that the mnemonic highlighting happens correctly
@ -42,6 +43,6 @@ Button
height: contentHeight
verticalAlignment: Text.AlignVCenter
anchors.left: button.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
}
}