diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-07-28 01:34:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-07-28 01:34:59 +0800 |
| commit | 586f32bb99c7539f2d89ac617b86a62166b30993 (patch) | |
| tree | 61b72af114dba23c48f6a5cc70877911d9f2f050 | |
| parent | eb23db9e822f5951780d00d016c157fcb6435cab (diff) | |
fixup! fix(Launcher): invisible components still taking up visual space due to row spacing
| -rw-r--r-- | popups/launcher/Launcher.qml | 2 | ||||
| -rw-r--r-- | popups/launcher/components/IComponent.qml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/popups/launcher/Launcher.qml b/popups/launcher/Launcher.qml index 432b420..09a5c8f 100644 --- a/popups/launcher/Launcher.qml +++ b/popups/launcher/Launcher.qml @@ -276,7 +276,7 @@ ILauncher { model: launcher.widgetItems delegate: Loader { active: true - visible: item?.valid ?? false + visible: item?.valid ?? true // not item?.standalone cuz when its standalone it doesnt appear in launcher.widgetItems sourceComponent: modelData asynchronous: true onLoaded: { diff --git a/popups/launcher/components/IComponent.qml b/popups/launcher/components/IComponent.qml index 941a9f6..ad52fb3 100644 --- a/popups/launcher/components/IComponent.qml +++ b/popups/launcher/components/IComponent.qml @@ -56,6 +56,7 @@ IRect { close(); } + // this doesn't change launcher size but only hides the actual content but the outside still think the content is there visible: active opacity: valid ? 1 : 0 y: valid ? 0 : -Launcher.widgetHeight |
