diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-03 22:57:33 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-04 23:07:54 +0800 |
| commit | abc717620fba76e27d1b984c47e5c56461a411e2 (patch) | |
| tree | 40ce24830871105febec123c68392b9052608caa /popups | |
| parent | f36d416853696b103934b56ee57118c733191dfa (diff) | |
Launcher: preview max len
Diffstat (limited to 'popups')
| -rw-r--r-- | popups/launcher/components/IComponent.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/popups/launcher/components/IComponent.qml b/popups/launcher/components/IComponent.qml index ad52fb3..26de055 100644 --- a/popups/launcher/components/IComponent.qml +++ b/popups/launcher/components/IComponent.qml @@ -20,7 +20,9 @@ IRect { property string answer: processed?.answer || "" property Component preview: Component { IText { - animate: true + // TODO: use proper active: false via Loader + visible: answer.length <= Launcher.maxPreviewLen + animate: true text: answer } } |
