dashboard: m3 tab line
This commit is contained in:
parent
52d0c0807b
commit
ef9431bb36
1 changed files with 13 additions and 3 deletions
|
|
@ -42,7 +42,7 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledRect {
|
Item {
|
||||||
id: indicator
|
id: indicator
|
||||||
|
|
||||||
anchors.top: bar.bottom
|
anchors.top: bar.bottom
|
||||||
|
|
@ -56,9 +56,19 @@ Item {
|
||||||
return tab.x + (tab.width - tab.implicitWidth) / 2;
|
return tab.x + (tab.width - tab.implicitWidth) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clip: true
|
||||||
|
|
||||||
|
StyledRect {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
implicitHeight: parent.implicitHeight * 2
|
||||||
|
|
||||||
color: Colours.palette.m3primary
|
color: Colours.palette.m3primary
|
||||||
radius: Appearance.rounding.full
|
radius: Appearance.rounding.full
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Behavior on x {
|
Behavior on x {
|
||||||
Anim {}
|
Anim {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue