Update topbar button style

CURA-4213
This commit is contained in:
Lipu Fei 2017-09-05 10:58:28 +02:00
parent e44aedc4b9
commit afb8850155
2 changed files with 4 additions and 3 deletions

View File

@ -116,10 +116,10 @@ QtObject {
Rectangle {
id: underline;
anchors.left: parent.left
anchors.right: parent.right
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
height: UM.Theme.getSize("sidebar_header_highlight").height
width: Theme.getSize("topbar_button").width
height: Theme.getSize("sidebar_header_highlight").height
color: control.checked ? UM.Theme.getColor("sidebar_header_highlight") : UM.Theme.getColor("sidebar_header_highlight_hover")
visible: control.hovered || control.checked
}

View File

@ -297,6 +297,7 @@
"button_icon": [2.5, 2.5],
"button_lining": [0, 0],
"topbar_logo_right_margin": [3, 0],
"topbar_button": [8, 4],
"topbar_button_icon": [3.125, 2.5],