@@ -33,7 +33,7 @@ AbstractButton {
33 // To avoid "binding loop" warning
33 // To avoid "binding loop" warning
34 height: shapedApplicationImage.height + labelContainer.height
34 height: shapedApplicationImage.height + labelContainer.height
36− width: shapedApplicationImage.width
36+ width: shapedApplicationImage.width <= units.gu(11) ? units.gu(11) : height
38 property bool terminationModeEnabled: false
38 property bool terminationModeEnabled: false
@@ -63,7 +63,8 @@ AbstractButton {
63 source: application.screenshot
63 source: application.screenshot
64 // height : width = ss.height : ss.width
64 // height : width = ss.height : ss.width
65 height: shapedApplicationImage.height
65 height: shapedApplicationImage.height
66+ fillMode: Image.PreserveAspectCrop
66− width: height * sourceSize.width / sourceSize.height
67+ width: Math.min(height, height * sourceSize.width / sourceSize.height)