From 1e35e91fce74a8dcfb68b6a65b31d8610b4dc8c1 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 17 Aug 2025 20:22:31 +0800 Subject: style(Launcher): components to make it looks more dynamic including contrasting coloring, scales --- launcher/components/App.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'launcher/components/App.qml') 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 {} } } -- cgit v1.2.3