fix: font assignment in multiple components

This commit is contained in:
2026-11-07 13:39:51 +01:00
parent 1f8f1ee556
commit 4ac55b0c2e
11 changed files with 115 additions and 42 deletions
+3 -4
View File
@@ -40,7 +40,7 @@ Item {
anchors.centerIn: parent
animate: true
color: root.greeter.launching ? Colors.palette.m3secondary : Colors.palette.m3outline
font: Tokens.font.mono.medium
font: Tokens.font.body.builders.medium.width(110).build()
opacity: root.buffer ? 0 : 1
text: {
if (root.greeter.launching)
@@ -86,10 +86,9 @@ Item {
anchors.centerIn: parent
anchors.horizontalCenterOffset: implicitWidth > root.width ? -(implicitWidth - root.width) / 2 : 0
implicitHeight: Tokens.font.body.medium
implicitHeight: Tokens.font.body.medium.pointSize
implicitWidth: fullWidth
interactive: false
opacity: root.greeter.echoResponse ? 0 : 1
orientation: Qt.Horizontal
spacing: Tokens.spacing.small / 2
@@ -100,7 +99,7 @@ Item {
implicitHeight: charList.implicitHeight
implicitWidth: implicitHeight
opacity: 0
radius: Tokens.rounding.small / 2
radius: Tokens.rounding.full
scale: 0
Behavior on opacity {