mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Bar SysMonitor: Implemented different sizing strategy to avoid unwanted shifting of items inside and outside the component.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user