mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:06:00 +08:00
Add tooltip to materials list itmes.
CURA-8979
This commit is contained in:
parent
503f21090e
commit
c7bb97aa6c
@ -62,9 +62,11 @@ Rectangle
|
|||||||
anchors.verticalCenter: materialSlot.verticalCenter
|
anchors.verticalCenter: materialSlot.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea
|
UM.TooltipArea
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
text: material != null ? `${material.brand} ${material.name}` : ""
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
materialList.currentBrand = material.brand;
|
materialList.currentBrand = material.brand;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user