mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
correct sizing of the screen
the up arrow to unlock is not visible anymore when unlocked
This commit is contained in:
parent
d032185815
commit
24dc96ad21
2 changed files with 8 additions and 8 deletions
|
|
@ -112,8 +112,8 @@ MouseEventListener {
|
|||
}
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumHeight: root.height
|
||||
Layout.maximumHeight: root.height
|
||||
Layout.minimumHeight: plasmoid.availableScreenRect.height
|
||||
Layout.maximumHeight: plasmoid.availableScreenRect.height
|
||||
Clock {
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
|
|
@ -169,8 +169,8 @@ MouseEventListener {
|
|||
z: 99
|
||||
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition
|
||||
|
||||
y: Math.max(viewPos + plasmoid.availableScreenRect.y + krunner.inputHeight - units.smallSpacing,
|
||||
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
||||
y: Math.max(viewPos + krunner.inputHeight - units.smallSpacing,
|
||||
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
||||
|
||||
GridView {
|
||||
id: favoritesView
|
||||
|
|
|
|||
|
|
@ -294,6 +294,7 @@ Item {
|
|||
|
||||
MouseEventListener {
|
||||
anchors.fill: parent
|
||||
|
||||
//Events handling: those events are about clicking and reordering of app icons
|
||||
//applet related events are in AppeltsArea.qml
|
||||
onPressAndHold: {
|
||||
|
|
@ -500,10 +501,9 @@ Item {
|
|||
GridView {
|
||||
id: applicationsView
|
||||
anchors {
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
fill: parent
|
||||
topMargin: plasmoid.availableScreenRect.y
|
||||
bottomMargin: root.height - plasmoid.availableScreenRect.y - plasmoid.availableScreenRect.height
|
||||
}
|
||||
|
||||
property var dragData
|
||||
|
|
|
|||
Loading…
Reference in a new issue