mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 06:29:01 +08: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
@ -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…
x
Reference in New Issue
Block a user