mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 23:59:01 +08:00
Add arrow indicator to the custom print setup
CURA-6598
This commit is contained in:
parent
d5bbc3f205
commit
210a2aa6bb
@ -109,8 +109,8 @@ Item
|
|||||||
height: UM.Theme.getSize("print_setup_icon").height
|
height: UM.Theme.getSize("print_setup_icon").height
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: downArrow.left
|
||||||
anchors.rightMargin: UM.Theme.getSize("thick_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
color: hovered ? UM.Theme.getColor("setting_control_button_hover") : UM.Theme.getColor("setting_control_button");
|
color: hovered ? UM.Theme.getColor("setting_control_button_hover") : UM.Theme.getColor("setting_control_button");
|
||||||
iconSource: UM.Theme.getIcon("star")
|
iconSource: UM.Theme.getIcon("star")
|
||||||
@ -127,6 +127,24 @@ Item
|
|||||||
}
|
}
|
||||||
onExited: base.hideTooltip()
|
onExited: base.hideTooltip()
|
||||||
}
|
}
|
||||||
|
UM.RecolorImage
|
||||||
|
{
|
||||||
|
id: downArrow
|
||||||
|
|
||||||
|
|
||||||
|
source: UM.Theme.getIcon("arrow_bottom")
|
||||||
|
width: UM.Theme.getSize("standard_arrow").width
|
||||||
|
height: UM.Theme.getSize("standard_arrow").height
|
||||||
|
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
right: parent.right
|
||||||
|
verticalCenter: parent.verticalCenter
|
||||||
|
rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
}
|
||||||
|
|
||||||
|
color: UM.Theme.getColor("setting_control_button")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QualitiesWithIntentMenu
|
QualitiesWithIntentMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user