diff --git a/applets/batterymonitor/package/contents/ui/PopupDialog.qml b/applets/batterymonitor/package/contents/ui/PopupDialog.qml --- a/applets/batterymonitor/package/contents/ui/PopupDialog.qml +++ b/applets/batterymonitor/package/contents/ui/PopupDialog.qml @@ -53,8 +53,8 @@ Column { id: settingsColumn anchors.horizontalCenter: parent.horizontalCenter - width: parent.width - units.gridUnit - spacing: Math.round(units.gridUnit / 2) + width: parent.width - units.smallSpacing * 2 + spacing: units.gridUnit Components.Label { // this is just for metrics, TODO use TextMetrics in 5.4 instead @@ -114,16 +114,17 @@ anchors { horizontalCenter: parent.horizontalCenter top: settingsColumn.bottom - topMargin: units.gridUnit // not divided by 2 for unified looks + topMargin: units.gridUnit + leftMargin: units.smallSpacing bottom: dialog.bottom } - width: parent.width - units.gridUnit + width: parent.width - units.smallSpacing * 2 ListView { id: batteryList boundsBehavior: Flickable.StopAtBounds - spacing: Math.round(units.gridUnit / 2) + spacing: Math.round(units.smallSpacing / 2) KeyNavigation.tab: brightnessSlider KeyNavigation.backtab: pmSwitch diff --git a/applets/notifications/package/contents/ui/FullRepresentation.qml b/applets/notifications/package/contents/ui/FullRepresentation.qml --- a/applets/notifications/package/contents/ui/FullRepresentation.qml +++ b/applets/notifications/package/contents/ui/FullRepresentation.qml @@ -70,6 +70,7 @@ id: header visible: !Kirigami.Settings.isMobile Layout.fillWidth: true + Layout.leftMargin: units.smallSpacing spacing: 0 RowLayout { @@ -282,6 +283,7 @@ Layout.fillHeight: true Layout.preferredWidth: units.gridUnit * 18 Layout.preferredHeight: units.gridUnit * 24 + Layout.leftMargin: units.smallSpacing ListView { id: list diff --git a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml --- a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml +++ b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml @@ -55,7 +55,7 @@ //applet open, no sidebar } else { - return 0; + return units.smallSpacing; } } Layout.rightMargin: {