From bc7919263dd2c2e82ea14314bf2ac73dc5d85395 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 26 Jul 2025 15:45:19 +1000 Subject: dcontent: some tweaks --- modules/detachedcontent/DetachedContent.qml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'modules/detachedcontent/DetachedContent.qml') diff --git a/modules/detachedcontent/DetachedContent.qml b/modules/detachedcontent/DetachedContent.qml index 4226917..ab4b4ef 100644 --- a/modules/detachedcontent/DetachedContent.qml +++ b/modules/detachedcontent/DetachedContent.qml @@ -20,17 +20,13 @@ Item { implicitWidth: implicitHeight * Config.dcontent.sizes.ratio implicitHeight: screen.height * Config.dcontent.sizes.heightMult - GridLayout { + RowLayout { anchors.fill: parent - rows: 2 - columns: 2 - rowSpacing: 0 - columnSpacing: 0 + spacing: 0 StyledRect { Layout.fillHeight: true - Layout.rowSpan: 2 topLeftRadius: Appearance.rounding.normal bottomLeftRadius: Appearance.rounding.normal @@ -44,13 +40,6 @@ Item { } } - StyledRect { - Layout.fillWidth: true - implicitHeight: 50 - topRightRadius: Appearance.rounding.normal - color: Colours.palette.m3surfaceContainer - } - Item { Layout.fillWidth: true Layout.fillHeight: true @@ -66,6 +55,7 @@ Item { StyledRect { anchors.fill: parent color: Colours.palette.m3surfaceContainer + topRightRadius: Appearance.rounding.normal bottomRightRadius: Appearance.rounding.normal layer.enabled: true @@ -88,7 +78,6 @@ Item { Rectangle { anchors.fill: parent anchors.margins: Appearance.padding.normal - anchors.topMargin: 0 anchors.leftMargin: 0 radius: Appearance.rounding.small } -- cgit v1.2.3-freya