Ensure that the sourceSize is set correctly

This commit is contained in:
Jaime van Kessel 2018-12-17 15:26:10 +01:00
parent 53da111617
commit 1352193654
2 changed files with 4 additions and 0 deletions

View file

@ -75,6 +75,8 @@ Item
background: UM.RecolorImage
{
source: UM.Theme.getIcon(control.isStarFilled ? "star_filled" : "star_empty")
sourceSize.width: width
sourceSize.height: height
// Unfilled stars should always have the default color. Only filled stars should change on hover
color: