diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-08-17 20:22:31 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-08-19 20:15:21 +0800 |
| commit | 1e35e91fce74a8dcfb68b6a65b31d8610b4dc8c1 (patch) | |
| tree | 78bae57268b133d568e6420a1bcce9d4bb99a60e /launcher/components/App.qml | |
| parent | 4259defbfdc524a97e45e7e49eaf6ab8984dd9e9 (diff) | |
style(Launcher): components to make it looks more dynamic
including contrasting coloring, scales
Diffstat (limited to 'launcher/components/App.qml')
| -rw-r--r-- | launcher/components/App.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/components/App.qml b/launcher/components/App.qml index 5851d3c..9955811 100644 --- a/launcher/components/App.qml +++ b/launcher/components/App.qml @@ -144,6 +144,7 @@ IComponent { RowLayout { id: item + scale: index === selectedIndex ? 1.01 : 0.99 anchors.left: parent.left anchors.top: parent.top anchors.margins: Launcher.innerMargin * 2 @@ -157,6 +158,11 @@ IComponent { IText { text: modelData.name renderType: Text.QtRendering + color: index === selectedIndex ? Colors.foreground1 : Colors.foreground2 + } + + Behavior on scale { + ISpringAnimation {} } } |
