From fc3f0a4ad389ca17bafd55cd4677ba0b654b9369 Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Tue, 1 Mar 2022 12:44:52 +0100 Subject: [PATCH] Update setting profile combobox to new style CURA-8688 --- .../qml/PrintSetupSelector/Custom/CustomPrintSetup.qml | 7 ++----- resources/themes/cura-dark/theme.json | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml index 94d55d563d..440c9e4e78 100644 --- a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml +++ b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml @@ -126,13 +126,10 @@ Item } } - background: Rectangle + background: UM.UnderlineBackground { id: backgroundItem - border.color: intentSelection.hovered ? UM.Theme.getColor("setting_control_border_highlight") : UM.Theme.getColor("setting_control_border") - border.width: UM.Theme.getSize("default_lining").width - radius: UM.Theme.getSize("default_radius").width - color: UM.Theme.getColor("main_background") + liningColor: intentSelection.hovered ? UM.Theme.getColor("border_main_light") : UM.Theme.getColor("border_field_light") } UM.SimpleButton diff --git a/resources/themes/cura-dark/theme.json b/resources/themes/cura-dark/theme.json index c111ccf350..106290c71f 100644 --- a/resources/themes/cura-dark/theme.json +++ b/resources/themes/cura-dark/theme.json @@ -28,7 +28,7 @@ "colors": { "main_background": "background_1", - "detail_background": [63, 63, 63, 255], + "detail_background": "background_2", "message_background": "background_1", "wide_lining": [31, 36, 39, 255], "thick_lining": [255, 255, 255, 60],