feat: refactor bar spacing functions to use dedicated functions

This commit is contained in:
Hannes
2026-09-01 13:52:03 +02:00
parent 36486179d5
commit 764f8197fb
13 changed files with 47 additions and 36 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import "../states/Apps"
Item {
id: root
property real pad: Config.spacing_fun(bar.height) * 1.5
property real pad: Config.bar_spacing_fun(bar.height) * 1.5
anchors.verticalCenter: parent.verticalCenter
@@ -39,7 +39,7 @@ Item {
Row {
id: contentRow
spacing: Config.spacing_fun(bar.height) * 1.25
spacing: Config.bar_spacing_fun(bar.height) * 1.25
anchors.centerIn: parent
Text {