From ef9431bb36a937afda85510807432be3381ac696 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 18 May 2025 11:14:22 +0800 Subject: dashboard: m3 tab line --- modules/dashboard/Tabs.qml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/dashboard/Tabs.qml b/modules/dashboard/Tabs.qml index 4a1fa0e..f50639c 100644 --- a/modules/dashboard/Tabs.qml +++ b/modules/dashboard/Tabs.qml @@ -42,7 +42,7 @@ Item { } } - StyledRect { + Item { id: indicator anchors.top: bar.bottom @@ -56,8 +56,18 @@ Item { return tab.x + (tab.width - tab.implicitWidth) / 2; } - color: Colours.palette.m3primary - radius: Appearance.rounding.full + clip: true + + StyledRect { + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right + implicitHeight: parent.implicitHeight * 2 + + color: Colours.palette.m3primary + radius: Appearance.rounding.full + + } Behavior on x { Anim {} -- cgit v1.2.3-freya