Fix NPill scaling

This commit is contained in:
Ly-sec 2025-08-12 14:28:48 +02:00
parent 934d4cc933
commit a127696f35
2 changed files with 23 additions and 9 deletions

View file

@ -56,7 +56,7 @@ Item {
id: textItem
anchors.centerIn: parent
text: root.text
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
font.weight: Style.fontWeightBold
color: textColor
visible: showPill
@ -97,7 +97,7 @@ Item {
Text {
anchors.centerIn: parent
font.family: showPill ? "Material Symbols Rounded" : "Material Symbols Outlined"
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeMedium * scaling
text: root.icon
color: showPill ? iconTextColor : collapsedIconColor
}