From 63da636144635e5aa6b7ff1a2d2eec2a1e35aafa Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 27 May 2025 10:42:08 +0800 Subject: internal: bar only vertical The bar can only be vertical Remove box, boxlayout and anchortext Add StyledClippingRect --- widgets/BoxLayout.qml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 widgets/BoxLayout.qml (limited to 'widgets/BoxLayout.qml') diff --git a/widgets/BoxLayout.qml b/widgets/BoxLayout.qml deleted file mode 100644 index d000bda..0000000 --- a/widgets/BoxLayout.qml +++ /dev/null @@ -1,16 +0,0 @@ -import "root:/config" -import QtQuick.Layouts - -GridLayout { - property bool vertical: parent.vertical ?? false // Propagate from parent - property bool homogenous: false - property int spacing: Appearance.spacing.small - - flow: vertical ? GridLayout.TopToBottom : GridLayout.LeftToRight - uniformCellWidths: homogenous || vertical - uniformCellHeights: homogenous || !vertical - rows: vertical ? -1 : 1 - columns: vertical ? 1 : -1 - rowSpacing: spacing - columnSpacing: spacing -} -- cgit v1.2.3-freya