mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Make the height of the stage buttons themable. Now the height has to be
28px as indicated by the UXers. Contributes to CURA-5784.
This commit is contained in:
parent
aa75b64b5b
commit
b6ea0e6385
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ Rectangle
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
exclusiveGroup: mainWindowHeaderMenuGroup
|
exclusiveGroup: mainWindowHeaderMenuGroup
|
||||||
style: UM.Theme.styles.main_window_header_tab
|
style: UM.Theme.styles.main_window_header_tab
|
||||||
height: Math.round(0.56 * UM.Theme.getSize("main_window_header").height)
|
height: UM.Theme.getSize("main_window_header_button").height
|
||||||
onClicked: UM.Controller.setActiveStage(model.id)
|
onClicked: UM.Controller.setActiveStage(model.id)
|
||||||
iconSource: model.stage.iconSource
|
iconSource: model.stage.iconSource
|
||||||
|
|
||||||
|
|
|
@ -361,7 +361,7 @@
|
||||||
"window_minimum_size": [106, 66],
|
"window_minimum_size": [106, 66],
|
||||||
|
|
||||||
"main_window_header": [0.0, 4.5],
|
"main_window_header": [0.0, 4.5],
|
||||||
"main_window_header_button": [8, 4],
|
"main_window_header_button": [8, 2.35],
|
||||||
"main_window_header_button_icon": [1.2, 1.2],
|
"main_window_header_button_icon": [1.2, 1.2],
|
||||||
|
|
||||||
"stage_menu": [0.0, 4.5],
|
"stage_menu": [0.0, 4.5],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue