mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 10:44:46 +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 {
|
Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.minimumHeight: root.height
|
Layout.minimumHeight: plasmoid.availableScreenRect.height
|
||||||
Layout.maximumHeight: root.height
|
Layout.maximumHeight: plasmoid.availableScreenRect.height
|
||||||
Clock {
|
Clock {
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
|
|
@ -169,8 +169,8 @@ MouseEventListener {
|
||||||
z: 99
|
z: 99
|
||||||
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition
|
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition
|
||||||
|
|
||||||
y: Math.max(viewPos + plasmoid.availableScreenRect.y + krunner.inputHeight - units.smallSpacing,
|
y: Math.max(viewPos + krunner.inputHeight - units.smallSpacing,
|
||||||
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
||||||
|
|
||||||
GridView {
|
GridView {
|
||||||
id: favoritesView
|
id: favoritesView
|
||||||
|
|
|
||||||
|
|
@ -294,6 +294,7 @@ Item {
|
||||||
|
|
||||||
MouseEventListener {
|
MouseEventListener {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
//Events handling: those events are about clicking and reordering of app icons
|
//Events handling: those events are about clicking and reordering of app icons
|
||||||
//applet related events are in AppeltsArea.qml
|
//applet related events are in AppeltsArea.qml
|
||||||
onPressAndHold: {
|
onPressAndHold: {
|
||||||
|
|
@ -500,10 +501,9 @@ Item {
|
||||||
GridView {
|
GridView {
|
||||||
id: applicationsView
|
id: applicationsView
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
fill: parent
|
||||||
bottom: parent.bottom
|
topMargin: plasmoid.availableScreenRect.y
|
||||||
left: parent.left
|
bottomMargin: root.height - plasmoid.availableScreenRect.y - plasmoid.availableScreenRect.height
|
||||||
right: parent.right
|
|
||||||
}
|
}
|
||||||
|
|
||||||
property var dragData
|
property var dragData
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue