Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Settings/SettingExtruder.qml')
-rw-r--r--resources/qml/Settings/SettingExtruder.qml21
1 files changed, 12 insertions, 9 deletions
diff --git a/resources/qml/Settings/SettingExtruder.qml b/resources/qml/Settings/SettingExtruder.qml
index c3bc472fbe..567161b8f6 100644
--- a/resources/qml/Settings/SettingExtruder.qml
+++ b/resources/qml/Settings/SettingExtruder.qml
@@ -98,7 +98,7 @@ SettingItem
when: control.model.items.length > 0
}
- indicator: UM.RecolorImage
+ indicator: UM.ColorImage
{
id: downArrow
x: control.width - width - control.rightPadding
@@ -107,8 +107,6 @@ SettingItem
source: UM.Theme.getIcon("ChevronSingleDown")
width: UM.Theme.getSize("standard_arrow").width
height: UM.Theme.getSize("standard_arrow").height
- sourceSize.width: width + 5 * screenScaleFactor
- sourceSize.height: width + 5 * screenScaleFactor
color: UM.Theme.getColor("setting_control_button");
}
@@ -127,17 +125,22 @@ SettingItem
}
return UM.Theme.getColor("setting_control")
}
+ borderColor: control.activeFocus ? UM.Theme.getSize("text_field_border_active") : "transparent"
liningColor:
{
- if (!enabled)
+ if(!enabled)
+ {
+ return UM.Theme.getColor("setting_control_disabled_border");
+ }
+ if(control.activeFocus)
{
- return UM.Theme.getColor("setting_control_disabled_border")
+ return UM.Theme.getColor("text_field_border_active");
}
- if (control.hovered || control.activeFocus)
+ if(base.hovered)
{
- return UM.Theme.getColor("border_main")
+ return UM.Theme.getColor("text_field_border_hovered");
}
- return UM.Theme.getColor("border_field_light")
+ return UM.Theme.getColor("border_field_light");
}
}
@@ -156,7 +159,7 @@ SettingItem
background: Rectangle
{
id: swatch
- height: Math.round(parent.height / 2)
+ height: UM.Theme.getSize("standard_arrow").width
width: height
radius: Math.round(width / 2)
anchors.right: parent.right