Commit 802ca9f6 authored by David Redondo's avatar David Redondo 🏎
Browse files

Have the placeholder be the same height as width

Prevents the Control from changing its height when having no sensors compared
to having sensors. This is how it was in the ksysguardqml version.
parent 3a6d37bb
......@@ -258,7 +258,7 @@ Control {
}
}
Item { width: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2; height: 1; visible: control.maxAllowedSensors <= 0 }
Item { width: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2; height: width; visible: control.maxAllowedSensors <= 0 }
}
Popup {
......
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