mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
make space for the top krunner ui
This commit is contained in:
parent
b9dfc7d768
commit
65e85b7719
3 changed files with 6 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ MouseEventListener {
|
|||
SatelliteStripe {
|
||||
id: stripe
|
||||
z: 99
|
||||
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition
|
||||
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition + krunner.inputHeight
|
||||
|
||||
y: Math.max(viewPos,
|
||||
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ Rectangle {
|
|||
height: childrenRect.height
|
||||
color: listView.visible ? Qt.rgba(0, 0, 0, 0.8) : "transparent"
|
||||
property alias showingResults: listView.visible
|
||||
property int inputHeight: queryField.height + background.fixedMargins.top/2 + background.fixedMargins.bottom
|
||||
|
||||
MouseArea {
|
||||
enabled: listView.visible
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
|
|
@ -15,7 +17,8 @@ PlasmaCore.ColorScope {
|
|||
}
|
||||
}
|
||||
|
||||
height: applicationsView.cellWidth
|
||||
//cut away one line from the favorites bar
|
||||
height: applicationsView.cellWidth - units.gridUnit
|
||||
width: parent.width
|
||||
y: parent.height / 2 - height / 2
|
||||
x: 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue