mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
Merge branch 'work/fuf/fixsddmlockscreenbuttonoverflow' into 'master'
sddm-theme: keep action buttons on screen on short displays See merge request plasma/plasma-desktop!4156
This commit is contained in:
commit
5948d7c101
2 changed files with 15 additions and 2 deletions
|
|
@ -304,7 +304,14 @@ Item {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
height: lockScreenRoot.height + Kirigami.Units.gridUnit * 3
|
||||
height: lockScreenRoot.height
|
||||
// The page-transition zoom animation scales pages up to zoomFactor;
|
||||
// clip them so the part that would extend past the screen is hidden
|
||||
// instead of being drawn outside the visible area. Keeping the
|
||||
// height at lockScreenRoot.height (not larger) also keeps
|
||||
// SessionManagementScreen from anchoring its action buttons below
|
||||
// the visible screen edge.
|
||||
clip: true
|
||||
focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it
|
||||
|
||||
// this isn't implicit, otherwise items still get processed for the scenegraph
|
||||
|
|
|
|||
|
|
@ -147,7 +147,13 @@ Item {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
height: root.height + Kirigami.Units.gridUnit * 3
|
||||
height: root.height
|
||||
// The page-transition zoom animation scales pages up to zoomFactor;
|
||||
// clip them so the part that would extend past the screen is hidden
|
||||
// instead of being drawn outside the visible area. Keeping the
|
||||
// height at root.height (not larger) also keeps SessionManagementScreen
|
||||
// from anchoring its action buttons below the visible screen edge.
|
||||
clip: true
|
||||
|
||||
// this isn't implicit, otherwise items still get processed for the scenegraph
|
||||
visible: opacity > 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue