Commit afb4a77b authored by Ismael Asensio's avatar Ismael Asensio
Browse files

kcm: Limit the width of the scaling slider

If the slider row is set to fillWidth, then the slider from the first
delegate can overlap the slider of the second delegate. Limit the size
to the same amount as the Device combobox.

BUG: 434383
FIXED-IN: 5.22
parent 53e55961
......@@ -52,6 +52,8 @@ ColumnLayout {
RowLayout {
Layout.fillWidth: true
// Set the same limit as the device ComboBox
Layout.maximumWidth: Kirigami.Units.gridUnit * 16
visible: kcm.perOutputScaling
Kirigami.FormData.label: i18n("Scale:")
Supports Markdown
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