Bar UI improvements

- better rounding at low scaling, for accurate vertical centering
- use fixed font bar system monitor
- use bold for workspaces name
This commit is contained in:
LemmyCook 2025-08-27 14:46:19 -04:00
parent d6df496216
commit c6cf5a0fab
5 changed files with 11 additions and 12 deletions

View file

@ -46,6 +46,7 @@ Row {
NText {
id: cpuUsageText
text: `${SystemStatService.cpuUsage}%`
font.family: Settings.data.ui.fontFixed
font.pointSize: Style.fontSizeS * scaling
font.weight: Style.fontWeightMedium
anchors.verticalCenter: parent.verticalCenter
@ -67,6 +68,7 @@ Row {
NText {
text: `${SystemStatService.cpuTemp}°C`
font.family: Settings.data.ui.fontFixed
font.pointSize: Style.fontSizeS * scaling
font.weight: Style.fontWeightMedium
anchors.verticalCenter: parent.verticalCenter
@ -87,6 +89,7 @@ Row {
NText {
text: `${SystemStatService.memoryUsageGb}G`
font.family: Settings.data.ui.fontFixed
font.pointSize: Style.fontSizeS * scaling
font.weight: Style.fontWeightMedium
anchors.verticalCenter: parent.verticalCenter