on xenial help sign in
fix runningapplicationsgrid tile width,

fix dash not intaractive when side stage overlaying

commit654f70be2d868d03b9e14629a1ab6099f9bb5a25 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 20 Mar 2014, 15:32 (13 years ago) parent22c040f
2 files changed+8−2
qml/Dash/Apps/RunningApplicationTile.qml+3−2 qml/Shell.qml+5
qml/Dash/Apps/RunningApplicationTile.qml+3−2
@@ -33,7 +33,7 @@ AbstractButton {
3333 // To avoid "binding loop" warning
3434 height: shapedApplicationImage.height + labelContainer.height
3535
36− width: shapedApplicationImage.width
36+ width: shapedApplicationImage.width <= units.gu(11) ? units.gu(11) : height
3737
3838 property bool terminationModeEnabled: false
3939
@@ -63,7 +63,8 @@ AbstractButton {
6363 source: application.screenshot
6464 // height : width = ss.height : ss.width
6565 height: shapedApplicationImage.height
66− width: height * sourceSize.width / sourceSize.height
66+ fillMode: Image.PreserveAspectCrop
67+ width: Math.min(height, height * sourceSize.width / sourceSize.height)
6768 }
6869
6970 }
qml/Shell.qml+5
@@ -118,6 +118,11 @@ FocusScope {
118118 anchors.rightMargin: stages.overlayWidth
119119 clip: stages.overlayMode && !stages.painting
120120
121+ InputFilterArea {
122+ anchors.fill: parent
123+ blockInput: parent.clip
124+ }
125+
121126 Item {
122127 id: underlay
123128 objectName: "underlay"