diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 19:07:04 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 19:07:04 +1000 |
| commit | 252f19ec0ec902c1fbb650260b29f1e63fc55867 (patch) | |
| tree | 7392e723047b0b6035b83588066f3366e37ba722 /modules/launcher/ContentList.qml | |
| parent | internal: fix blurriness (diff) | |
| download | caelestia-shell-252f19ec0ec902c1fbb650260b29f1e63fc55867.tar.gz caelestia-shell-252f19ec0ec902c1fbb650260b29f1e63fc55867.tar.bz2 caelestia-shell-252f19ec0ec902c1fbb650260b29f1e63fc55867.zip | |
launcher: prevent overlap with dashboard
Fixes #612
Diffstat (limited to 'modules/launcher/ContentList.qml')
| -rw-r--r-- | modules/launcher/ContentList.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml index a6ccf53..b2a9c77 100644 --- a/modules/launcher/ContentList.qml +++ b/modules/launcher/ContentList.qml @@ -14,6 +14,7 @@ Item { required property var content required property PersistentProperties visibilities required property var panels + required property real maxHeight required property StyledTextField search required property int padding required property int rounding @@ -33,7 +34,7 @@ Item { PropertyChanges { root.implicitWidth: Config.launcher.sizes.itemWidth - root.implicitHeight: appList.implicitHeight > 0 ? appList.implicitHeight : empty.implicitHeight + root.implicitHeight: Math.min(root.maxHeight, appList.implicitHeight > 0 ? appList.implicitHeight : empty.implicitHeight) appList.active: true } @@ -78,8 +79,7 @@ Item { active: false - anchors.left: parent.left - anchors.right: parent.right + anchors.fill: parent sourceComponent: AppList { search: root.search |