on xenial help sign in
Crop screenshots, remove leftovers and tweak style.
commit2e9d617107b56b6d041520c5ac11e9ef94959c2d authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 9 Aug 2013, 11:18 (13 years ago) parentb266b3a
1 file changed+2−10
Dash/Apps/AppPreview.qml+2−10
Dash/Apps/AppPreview.qml+2−10
@@ -53,13 +53,9 @@ DashPreview {
5353 asynchronous: true
5454 sourceSize { width: shape.width; height: shape.height }
5555 source: modelData ? modelData : ""
56+ fillMode: Image.PreserveAspectCrop
5657 }
5758 }
58−
59− MouseArea {
60− id: mouseArea
61− anchors.fill: parent
62− }
6359 }
6460
6561 Component {
@@ -85,12 +81,8 @@ DashPreview {
8581 text: modelData.displayName
8682 iconSource: modelData.iconHint
8783 iconPosition: "right"
88− visible: true
89− onClicked: {
90− root.previewData.execute(modelData.id, { })
91− }
84+ onClicked: root.previewData.execute(modelData.id, { })
9285 }
93− focus: false
9486 }
9587 }
9688