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 --- modules/bar/Content.qml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'modules/bar/Content.qml') diff --git a/modules/bar/Content.qml b/modules/bar/Content.qml index 4149521..ac828f8 100644 --- a/modules/bar/Content.qml +++ b/modules/bar/Content.qml @@ -24,8 +24,6 @@ StyledRect { Item { id: child - readonly property bool vertical: true - anchors.top: parent.top anchors.bottom: parent.bottom anchors.right: parent.right @@ -40,7 +38,7 @@ StyledRect { anchors.topMargin: Appearance.padding.large } - ClippingRectangle { + StyledClippingRect { id: workspaces anchors.horizontalCenter: parent.horizontalCenter @@ -57,16 +55,6 @@ StyledRect { id: workspacesInner anchors.centerIn: parent - - vertical: true - } - - Behavior on color { - ColorAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } } } -- cgit v1.2.3-freya