CURA-5296 Improve button styling

This commit is contained in:
Ian Paschal 2018-05-22 11:34:41 +02:00
parent ea421204f3
commit 95a4edb8de
5 changed files with 118 additions and 34 deletions

View file

@ -49,7 +49,17 @@ Column
border
{
width: UM.Theme.getSize("default_lining").width
color: UM.Theme.getColor("lining")
color:
{
if (control.hovered)
{
return UM.Theme.getColor("primary_hover")
}
else
{
return UM.Theme.getColor("lining")
}
}
}
}
label: Label
@ -58,6 +68,7 @@ Column
color: UM.Theme.getColor("text")
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
font: UM.Theme.getFont("default")
}
}
onClicked: toolbox.uninstall(model.id)