mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 01:15:55 +08:00
Use tooltip button colour for tooltips
That's what the theme entry was made for, wasn't it? Contributes to issue CURA-4148.
This commit is contained in:
parent
d50f498fef
commit
12de8372b9
@ -246,7 +246,7 @@ QtObject {
|
|||||||
|
|
||||||
target: Qt.point(parent.x, y + height/2)
|
target: Qt.point(parent.x, y + height/2)
|
||||||
arrowSize: Theme.getSize("button_tooltip_arrow").width
|
arrowSize: Theme.getSize("button_tooltip_arrow").width
|
||||||
color: Theme.getColor("tooltip")
|
color: Theme.getColor("button_tooltip")
|
||||||
opacity: control.hovered ? 1.0 : 0.0;
|
opacity: control.hovered ? 1.0 : 0.0;
|
||||||
|
|
||||||
width: control.hovered ? button_tip.width + Theme.getSize("button_tooltip").width : 0
|
width: control.hovered ? button_tip.width + Theme.getSize("button_tooltip").width : 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user