diff options
Diffstat (limited to 'modules/launcher/Launcher.qml')
| -rw-r--r-- | modules/launcher/Launcher.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml index d5c43db..bbd2f91 100644 --- a/modules/launcher/Launcher.qml +++ b/modules/launcher/Launcher.qml @@ -21,23 +21,31 @@ Scope { keyboardFocus: root.launcherVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None visible: wrapper.shouldBeVisible - width: content.width + bg.rounding * 2 mask: Region { item: wrapper } anchors.top: true + anchors.left: true anchors.bottom: true + anchors.right: true Background { id: bg + anchors.horizontalCenter: parent.horizontalCenter + + wrapperWidth: wrapper.width realWrapperHeight: Math.min(wrapper.height, content.height) } Wrapper { id: wrapper + anchors.horizontalCenter: parent.horizontalCenter + + implicitWidth: content.width + bg.rounding * 2 + launcherVisible: root.launcherVisible contentHeight: content.height |