diff --git a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml --- a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml +++ b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml @@ -60,16 +60,19 @@ ColumnLayout { Layout.fillWidth: true Layout.leftMargin: units.gridUnit + units.smallSpacing // width of checkbox and spacer + visible: inhibitingAppsList.visible || laptopLidWarning.visible spacing: units.smallSpacing InhibitionHint { + id: laptopLidWarning Layout.fillWidth: true visible: pmSource.data["PowerDevil"] && pmSource.data["PowerDevil"]["Is Lid Present"] && !pmSource.data["PowerDevil"]["Triggers Lid Action"] ? true : false iconSource: "computer-laptop" text: i18n("Your notebook is configured not to suspend when closing the lid while an external monitor is connected.") } InhibitionHint { + id: inhibitingAppsList Layout.fillWidth: true visible: inhibitions.length > 0 iconSource: inhibitions.length > 0 ? inhibitions[0].Icon || "" : ""