on xenial help sign in
fix anchors
commit3d33c985b5f149846233e0e7ebe7092af412b370 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 26 Jun 2013, 16:21 (13 years ago) parentb473918
1 file changed+5−5
Launcher/LauncherDelegate.qml+5−5
Launcher/LauncherDelegate.qml+5−5
@@ -47,15 +47,15 @@ Item {
4747 anchors.centerIn: parent
4848
4949 UbuntuShape {
50− width: parent.width - units.gu(1)
51− height: parent.height - units.gu(1)
52− anchors.centerIn: parent
50+ id: iconShape
51+ anchors.fill: parent
52+ anchors.margins: units.gu(0.5)
5353 radius: "medium"
5454
5555 image: Image {
5656 id: iconImage
57− sourceSize.width: parent.width
58− sourceSize.height: parent.height
57+ sourceSize.width: iconShape.width
58+ sourceSize.height: iconShape.height
5959 source: "../graphics/applicationIcons/" + root.iconName + ".png"
6060 }
6161