make sure we show the full rep when possible

This commit is contained in:
Marco Martin 2015-10-26 15:28:47 +01:00
parent e1da762f09
commit 40b02bf440

View file

@ -181,7 +181,6 @@ Item {
opacity: 1 - Math.abs(x/(width/2))
Layout.fillWidth: true
Layout.fillHeight: applet && applet.Layout.fillHeight
Layout.minimumHeight: applet && applet.switchHeight ? applet.switchHeight : 0
Connections {
target: plasmoid
@ -211,7 +210,7 @@ Item {
}
width: parent.width
height: Math.max(applet.Layout.minimumHeight, (root.height-applicationsView.headerItem.margin) / 2)
height: Math.max(applet.switchHeight + 1 + background.margins.top + background.margins.bottom, Math.max(applet.Layout.minimumHeight, (root.height-applicationsView.headerItem.margin) / 2))
PlasmaComponents.BusyIndicator {
z: 1000