Add borders to layer view slider handles

And all other sliders, of which we have exactly 0.

Contributes to issue CURA-4148.
This commit is contained in:
Ghostkeeper 2017-08-21 18:28:06 +02:00
parent 02e96f510a
commit 9d910be212
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
2 changed files with 8 additions and 2 deletions

View file

@ -769,7 +769,9 @@ QtObject {
width: Theme.getSize("slider_handle").width;
height: Theme.getSize("slider_handle").height;
color: control.hovered ? Theme.getColor("slider_handle_hover") : Theme.getColor("slider_handle");
radius: Theme.getSize("slider_handle").width/2;
border.width: Theme.getSize("default_lining").width
border.color: control.hovered ? Theme.getColor("slider_handle_hover_border") : Theme.getColor("slider_handle_border")
radius: Theme.getSize("slider_handle").width / 2; //Round.
Behavior on color { ColorAnimation { duration: 50; } }
}
}