Use 'tnum' OpenType feature (tabular numbers) in bar clock widget

This commit is contained in:
Doug Thompson
2026-03-01 12:57:58 +00:00
parent 1fd249164b
commit 46c072d621
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -18,11 +18,13 @@ Text {
}
return fontScale;
}
property var features: ({})
opacity: enabled ? 1.0 : 0.6
font.family: root.family
font.weight: Style.fontWeightMedium
font.pointSize: Math.max(1, root.pointSize * fontScale)
font.features: root.features
color: Color.mOnSurface
elide: Text.ElideRight
wrapMode: Text.NoWrap