Просмотр исходного кода

Change the size of the stage buttons to be same size as the marketplace button

CURA-8202
Konstantinos Karmas 3 лет назад
Родитель
Сommit
eb2fe5b139
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      resources/qml/MainWindow/MainWindowHeader.qml

+ 1 - 1
resources/qml/MainWindow/MainWindowHeader.qml

@@ -62,7 +62,7 @@ Item
                 anchors.verticalCenter: parent.verticalCenter
                 exclusiveGroup: mainWindowHeaderMenuGroup
                 style: UM.Theme.styles.main_window_header_tab
-                height: UM.Theme.getSize("main_window_header_button").height
+                height: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
                 iconSource: model.stage.iconSource
 
                 property color overlayColor: "transparent"