[applets/batterymonitor] PopupDialog: Replace Column with its Layout counterpart

This isn't doing much useful so far, but the next step would be to
inline the scroll+listview with custom margins below.
wilder-5.24
ivan tkachenko 4 years ago
parent 6b0b0a57b2
commit e4072e4e08
No known key found for this signature in database
GPG Key ID: 4D197017E61437CF
  1. 11
      applets/batterymonitor/package/contents/ui/PopupDialog.qml

@ -54,7 +54,7 @@ PlasmaComponents3.Page {
focus: true
Column {
ColumnLayout {
id: settingsColumn
anchors {
left: parent.left
@ -67,7 +67,8 @@ PlasmaComponents3.Page {
BrightnessItem {
id: brightnessSlider
width: parent.width
Layout.fillWidth: true
icon: "video-display-brightness"
label: i18n("Display Brightness")
@ -91,7 +92,8 @@ PlasmaComponents3.Page {
BrightnessItem {
id: keyboardBrightnessSlider
width: parent.width
Layout.fillWidth: true
icon: "input-keyboard-brightness"
label: i18n("Keyboard Brightness")
@ -114,7 +116,8 @@ PlasmaComponents3.Page {
}
PowerProfileItem {
width: parent.width
Layout.fillWidth: true
activeProfile: dialog.activeProfile
inhibitionReason: dialog.inhibitionReason
visible: dialog.profiles.length > 0

Loading…
Cancel
Save