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
+1 -2
View File
@@ -73,8 +73,7 @@ Item {
anchors.topMargin: root.horizontal ? 0 : Tokens.spacing.small
anchors.verticalCenter: root.horizontal ? parent.verticalCenter : undefined
color: root.color
font.family: metrics.font.family
font.pointSize: metrics.font.pointSize
font: metrics.font
height: root.horizontal ? implicitHeight : implicitWidth
opacity: root.current === this ? 1 : 0
width: root.horizontal ? implicitWidth : implicitHeight