Qt-Scaling: first cleanup pass

This commit is contained in:
ItsLemmy
2025-10-12 08:23:24 -04:00
parent d5d654e010
commit f4b27380c3
135 changed files with 1562 additions and 1811 deletions
@@ -9,12 +9,10 @@ import qs.Widgets
NBox {
id: root
property real scaling: 1.0
Item {
id: content
anchors.fill: parent
anchors.margins: Style.marginS * scaling
anchors.margins: Style.marginS
ColumnLayout {
anchors.centerIn: parent
@@ -25,8 +23,7 @@ NBox {
icon: "cpu-usage"
flat: true
contentScale: 0.8
height: 65 * scaling
scaling: root.scaling
height: 65
Layout.alignment: Qt.AlignHCenter
}
NCircleStat {
@@ -35,8 +32,7 @@ NBox {
icon: "cpu-temperature"
flat: true
contentScale: 0.8
height: 65 * scaling
scaling: root.scaling
height: 65
Layout.alignment: Qt.AlignHCenter
}
NCircleStat {
@@ -44,8 +40,7 @@ NBox {
icon: "memory"
flat: true
contentScale: 0.8
height: 65 * scaling
scaling: root.scaling
height: 65
Layout.alignment: Qt.AlignHCenter
}
NCircleStat {
@@ -53,8 +48,7 @@ NBox {
icon: "storage"
flat: true
contentScale: 0.8
height: 65 * scaling
scaling: root.scaling
height: 65
Layout.alignment: Qt.AlignHCenter
}
}