Bar SysMonitor: Implemented different sizing strategy to avoid unwanted shifting of items inside and outside the component.

This commit is contained in:
ItsLemmy
2025-09-27 13:38:56 -04:00
parent 423ea60939
commit a4b4caa2ce
3 changed files with 139 additions and 108 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ Slider {
property real heightRatio: 0.7
readonly property real knobDiameter: Math.round((Style.baseWidgetSize * heightRatio * scaling) / 2) * 2
readonly property real trackHeight: Math.round((knobDiameter * 0.4) /2) * 2
readonly property real trackHeight: Math.round((knobDiameter * 0.4) / 2) * 2
readonly property real cutoutExtra: Math.round((Style.baseWidgetSize * 0.1 * scaling) / 2) * 2
padding: cutoutExtra / 2