From 2be46ff65ab50026e831c42b25c1a4f86eb413c4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 15 Aug 2025 21:49:09 +1000 Subject: internal: static bar width --- modules/bar/Bar.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/bar/Bar.qml') diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 71a5b79..ec2cae9 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -15,7 +15,6 @@ ColumnLayout { required property ShellScreen screen required property PersistentProperties visibilities required property BarPopouts.Wrapper popouts - readonly property int padding: Math.max(Appearance.padding.smaller, Config.border.thickness) readonly property int vPadding: Appearance.padding.large function checkPopout(y: real): void { @@ -171,8 +170,6 @@ ColumnLayout { } Layout.alignment: Qt.AlignHCenter - Layout.leftMargin: root.padding - Layout.rightMargin: root.padding // Cursed ahh thing to add padding to first and last enabled components Layout.topMargin: findFirstEnabled() === this ? root.vPadding : 0 @@ -180,5 +177,6 @@ ColumnLayout { visible: enabled active: enabled + asynchronous: true } } -- cgit v1.2.3-freya