Commit e1da762f authored by Marco Martin's avatar Marco Martin

better management of the spacer

ensure the spacer is the last item
parent 91b29c37
......@@ -181,7 +181,7 @@ MouseEventListener {
Item {
id: spacer
width: parent.width
height: plasmoid.availableScreenRect.height/4 * Math.max(0, 4 -plasmoid.applets.length)
height: Math.max(0, plasmoid.availableScreenRect.height/4 * Math.max(0, 4 -plasmoid.applets.length) - stripe.height - units.gridUnit * 3)
//plasmoid.availableScreenRect.height/4
}
......
......@@ -115,7 +115,7 @@ Item {
LayoutManager.plasmoid = plasmoid;
LayoutManager.root = root;
LayoutManager.layout = appletsSpace.layout;
//LayoutManager.lastSpacer = appletsSpace.lastSpacer;
LayoutManager.lastSpacer = appletsSpace.lastSpacer;
LayoutManager.restore();
applicationsView.contentY = -applicationsView.headerItem.height*2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment