Icons: huge cleanup

This commit is contained in:
LemmyCook 2025-09-08 22:05:57 -04:00
parent ccdb4e0664
commit 1f8c55d581
53 changed files with 155 additions and 174 deletions

View file

@ -64,14 +64,12 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
visible: showCpuUsage
NIcon {
id: cpuUsageIcon
text: Bootstrap.icons["speedometer2"]
NIcon { icon: "speedometer2"
font.pointSize: Style.fontSizeM * scaling
Layout.alignment: Qt.AlignVCenter
}
NText {
id: cpuUsageText
text: `${SystemStatService.cpuUsage}%`
font.family: Settings.data.ui.fontFixed
font.pointSize: Style.fontSizeS * scaling
@ -89,8 +87,8 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
visible: showCpuTemp
NIcon {
text: Bootstrap.icons["fire"]
NIcon { icon: "fire"
font.pointSize: Style.fontSizeM * scaling
Layout.alignment: Qt.AlignVCenter
}
@ -112,8 +110,8 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
visible: showMemoryUsage
NIcon {
text: Bootstrap.icons["memory"]
NIcon { icon: "memory"
font.pointSize: Style.fontSizeM * scaling
Layout.alignment: Qt.AlignVCenter
}
@ -135,8 +133,8 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
visible: showNetworkStats
NIcon {
text: Bootstrap.icons["download"]
NIcon { icon: "download"
font.pointSize: Style.fontSizeM * scaling
Layout.alignment: Qt.AlignVCenter
}
@ -158,8 +156,8 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
visible: showNetworkStats
NIcon {
text: Bootstrap.icons["upload"]
NIcon { icon: "upload"
font.pointSize: Style.fontSizeM * scaling
Layout.alignment: Qt.AlignVCenter
}