diff --git a/dots/.config/quickshell/ii/modules/common/widgets/Box.qml b/dots/.config/quickshell/ii/modules/common/widgets/Box.qml index a043e4bcb..b37019003 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/Box.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/Box.qml @@ -5,7 +5,12 @@ import QtQuick // Qt Row is just a locked down Grid smh // Calling it a Box because that's how row-or-column widget is called in Gtk Grid { + id: root + property bool vertical: false columns: vertical ? 1 : -1 rows: vertical ? -1 : 1 + + property alias spacing: root.rowSpacing + columnSpacing: rowSpacing } diff --git a/dots/.config/quickshell/ii/modules/common/widgets/BoxLayout.qml b/dots/.config/quickshell/ii/modules/common/widgets/BoxLayout.qml index 47747a730..3ab312c23 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/BoxLayout.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/BoxLayout.qml @@ -7,7 +7,12 @@ import QtQuick.Layouts // Qt Row is just a locked down Grid smh // Calling it a Box because that's how row-or-column widget is called in Gtk GridLayout { + id: root + property bool vertical: false columns: vertical ? 1 : -1 rows: vertical ? -1 : 1 + + property alias spacing: root.rowSpacing + columnSpacing: rowSpacing }