on xenial help sign in
Crop screenshots, remove leftovers and tweak style.
2e9d617Michał Sawicz
Dash/Apps/AppPreview.qml+2−10
@@ -53,13 +53,9 @@ DashPreview {
53 asynchronous: true
53 asynchronous: true
54 sourceSize { width: shape.width; height: shape.height }
54 sourceSize { width: shape.width; height: shape.height }
55 source: modelData ? modelData : ""
55 source: modelData ? modelData : ""
56+ fillMode: Image.PreserveAspectCrop
56 }
57 }
57 }
58 }
58−
59− MouseArea {
60− id: mouseArea
61− anchors.fill: parent
62− }
63 }
59 }
64
60
65 Component {
61 Component {
@@ -85,12 +81,8 @@ DashPreview {
85 text: modelData.displayName
81 text: modelData.displayName
86 iconSource: modelData.iconHint
82 iconSource: modelData.iconHint
87 iconPosition: "right"
83 iconPosition: "right"
88− visible: true
89− onClicked: {
90− root.previewData.execute(modelData.id, { })
84+ onClicked: root.previewData.execute(modelData.id, { })
91− }
92 }
85 }
93− focus: false
94 }
86 }
95 }
87 }
96
88