summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-18 11:14:22 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-18 11:14:22 +0800
commitef9431bb36a937afda85510807432be3381ac696 (patch)
tree38dd67368efd8b4cb0cc28ad7449ec3a165687eb /modules
parentdashboard: scale face based on info height (diff)
downloadcaelestia-shell-ef9431bb36a937afda85510807432be3381ac696.tar.gz
caelestia-shell-ef9431bb36a937afda85510807432be3381ac696.tar.bz2
caelestia-shell-ef9431bb36a937afda85510807432be3381ac696.zip
dashboard: m3 tab line
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/Tabs.qml16
1 files changed, 13 insertions, 3 deletions
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 {}