diff --git a/.config/quickshell/modules/overview/Overview.qml b/.config/quickshell/modules/overview/Overview.qml index 969145179..965e151a3 100644 --- a/.config/quickshell/modules/overview/Overview.qml +++ b/.config/quickshell/modules/overview/Overview.qml @@ -80,8 +80,8 @@ Scope { } } - implicitWidth: columnLayout.width - implicitHeight: columnLayout.height + implicitWidth: columnLayout.implicitWidth + implicitHeight: columnLayout.implicitHeight function setSearchingText(text) { searchWidget.setSearchingText(text); diff --git a/.config/quickshell/modules/overview/OverviewWidget.qml b/.config/quickshell/modules/overview/OverviewWidget.qml index 1b0673f2b..a8271fee0 100644 --- a/.config/quickshell/modules/overview/OverviewWidget.qml +++ b/.config/quickshell/modules/overview/OverviewWidget.qml @@ -54,13 +54,14 @@ Item { } Rectangle { // Background id: overviewBackground - + property real padding: 10 anchors.fill: parent + anchors.margins: Appearance.sizes.elevationMargin - implicitWidth: workspaceColumnLayout.implicitWidth + 5 * 2 - implicitHeight: workspaceColumnLayout.implicitHeight + 5 * 2 + implicitWidth: workspaceColumnLayout.implicitWidth + padding * 2 + implicitHeight: workspaceColumnLayout.implicitHeight + padding * 2 + radius: Appearance.rounding.screenRounding * root.scale + padding color: Appearance.colors.colLayer0 - radius: Appearance.rounding.screenRounding * root.scale + 5 * 2 ColumnLayout { id: workspaceColumnLayout