From 1747efeff84abe4157ece8152b84001fe5fdf755 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 16 Dec 2015 13:57:23 +0100 Subject: [PATCH] Fixed thin borders on HiDPI screens --- resources/qml/SaveButton.qml | 1 + resources/themes/cura/styles.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/SaveButton.qml b/resources/qml/SaveButton.qml index c20aa905fc..7db1121012 100644 --- a/resources/qml/SaveButton.qml +++ b/resources/qml/SaveButton.qml @@ -90,6 +90,7 @@ Rectangle { background: Rectangle { //opacity: control.enabled ? 1.0 : 0.5 //Behavior on opacity { NumberAnimation { duration: 50; } } + border.width: UM.Theme.sizes.default_lining.width border.color: !control.enabled ? UM.Theme.colors.action_button_disabled_border : control.pressed ? UM.Theme.colors.action_button_active_border : control.hovered ? UM.Theme.colors.action_button_hovered_border : UM.Theme.colors.action_button_border diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index acf9067241..497bd02177 100644 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -12,7 +12,7 @@ QtObject { ButtonStyle { background: Rectangle { color: UM.Theme.colors.setting_control - border.width: 1 + border.width: UM.Theme.sizes.default_lining.width border.color: control.hovered ? UM.Theme.colors.setting_control_border_highlight : UM.Theme.colors.setting_control_border UM.RecolorImage { id: downArrow