mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Use 'tnum' OpenType feature (tabular numbers) in bar clock widget
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user