From 5fd8d0f6da23030cbe043c5fd59284393781e23a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 10:29:30 +1000 Subject: refactor: use anchors instead of layouts --- config/BarConfig.qml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'config/BarConfig.qml') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index ba0063d..0173f18 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -6,9 +6,18 @@ import QtQuick Singleton { property bool vertical: false - readonly property QtObject workspaces: QtObject { - property int shown: 10 - property string style: "" - property bool occupiedBg: false + readonly property Sizes sizes: Sizes {} + readonly property Workspaces workspaces: Workspaces {} + + component Sizes: QtObject { + readonly property int height: 50 + readonly property int floatingGap: 10 + readonly property int floatingGapLarge: 15 + } + + component Workspaces: QtObject { + readonly property int shown: 10 + readonly property string style: "" + readonly property bool occupiedBg: false } } -- cgit v1.2.3-freya