mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Update topbar button style
CURA-4213
This commit is contained in:
parent
e44aedc4b9
commit
afb8850155
2 changed files with 4 additions and 3 deletions
|
@ -116,10 +116,10 @@ QtObject {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: underline;
|
id: underline;
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.bottom: parent.bottom
|
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")
|
color: control.checked ? UM.Theme.getColor("sidebar_header_highlight") : UM.Theme.getColor("sidebar_header_highlight_hover")
|
||||||
visible: control.hovered || control.checked
|
visible: control.hovered || control.checked
|
||||||
}
|
}
|
||||||
|
|
|
@ -297,6 +297,7 @@
|
||||||
"button_icon": [2.5, 2.5],
|
"button_icon": [2.5, 2.5],
|
||||||
"button_lining": [0, 0],
|
"button_lining": [0, 0],
|
||||||
|
|
||||||
|
"topbar_logo_right_margin": [3, 0],
|
||||||
"topbar_button": [8, 4],
|
"topbar_button": [8, 4],
|
||||||
"topbar_button_icon": [3.125, 2.5],
|
"topbar_button_icon": [3.125, 2.5],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue