diff --git a/Modules/DesktopWidgets/Widgets/DesktopSystemStat.qml b/Modules/DesktopWidgets/Widgets/DesktopSystemStat.qml index b02bad06d..5d14aaf6e 100644 --- a/Modules/DesktopWidgets/Widgets/DesktopSystemStat.qml +++ b/Modules/DesktopWidgets/Widgets/DesktopSystemStat.qml @@ -198,9 +198,8 @@ DraggableDesktopWidget { color2: root.color2 fill: true updateInterval: root.graphUpdateInterval - strokeWidth: 1.5 * Style.uiScaleRatio * root.widgetScale + strokeWidth: Math.max(1, root.widgetScale) animateScale: root.statType === "Network" - antialiasing: 0.5 * root.widgetScale } } diff --git a/Modules/Panels/SystemStats/SystemStatsPanel.qml b/Modules/Panels/SystemStats/SystemStatsPanel.qml index 49acd9a05..2cc85c108 100644 --- a/Modules/Panels/SystemStats/SystemStatsPanel.qml +++ b/Modules/Panels/SystemStats/SystemStatsPanel.qml @@ -136,7 +136,7 @@ SmartPanel { maxValue2: Math.max(SystemStatService.cpuTempHistoryMax + 5, 1) color: Color.mPrimary color2: Color.mSecondary - strokeWidth: 1.5 * Style.uiScaleRatio + strokeWidth: Math.max(1, Style.uiScaleRatio) fill: true fillOpacity: 0.15 updateInterval: SystemStatService.cpuUsageIntervalMs @@ -190,7 +190,7 @@ SmartPanel { minValue: 0 maxValue: 100 color: Color.mPrimary - strokeWidth: 1.5 * Style.uiScaleRatio + strokeWidth: Math.max(1, Style.uiScaleRatio) fill: true fillOpacity: 0.15 updateInterval: SystemStatService.memIntervalMs @@ -262,7 +262,7 @@ SmartPanel { maxValue2: SystemStatService.txMaxSpeed color: Color.mPrimary color2: Color.mSecondary - strokeWidth: 1.5 * Style.uiScaleRatio + strokeWidth: Math.max(1, Style.uiScaleRatio) fill: true fillOpacity: 0.15 updateInterval: SystemStatService.networkIntervalMs diff --git a/Widgets/NGraph.qml b/Widgets/NGraph.qml index 24a849398..839229db2 100644 --- a/Widgets/NGraph.qml +++ b/Widgets/NGraph.qml @@ -23,7 +23,7 @@ Item { property real maxValue2: maxValue // Style settings - property real strokeWidth: 1.5 + property real strokeWidth: 1 property bool fill: true property real fillOpacity: 0.15 property real antialiasing: 0.5