Commit 1574c4bc authored by Ronan's avatar Ronan

fix(Icon): add a little fix to avoid bad resize on Icon

parent c1598b90
......@@ -26,6 +26,10 @@ Item {
anchors.centerIn: parent
width: iconSize
height: iconSize
fillMode: Image.PreserveAspectFit
source: Utils.resolveImageUri(icon)
sourceSize.width: getIconSize()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment