Commit b693f482 authored by Nate Graham's avatar Nate Graham 🔩

[OSD] Vertically center all items in the layout

BUG: 428742
FIXED-IN: 5.21
parent 36f296e4
......@@ -46,6 +46,7 @@ RowLayout {
Layout.leftMargin: units.smallSpacing
Layout.preferredWidth: units.iconSizes.medium
Layout.preferredHeight: units.iconSizes.medium
Layout.alignment: Qt.AlignVCenter
source: icon
visible: valid
}
......@@ -53,6 +54,7 @@ RowLayout {
PlasmaComponents3.ProgressBar {
id: progressBar
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
// So it never exceeds the minimum popup size
Layout.preferredWidth: 1
Layout.rightMargin: units.smallSpacing
......@@ -76,6 +78,7 @@ RowLayout {
Layout.fillHeight: true
Layout.preferredWidth: widestLabelSize.width
Layout.rightMargin: units.smallSpacing
Layout.alignment: Qt.AlignVCenter
level: 3
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
......@@ -102,6 +105,7 @@ RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.rightMargin: units.smallSpacing
Layout.alignment: Qt.AlignVCenter
level: 3
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment