Commit 0f9d7c31 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

kcm: Don't force width of screens area

Now the view will fit on mobile
parent 694c6dae
Pipeline #184245 passed with stage
in 1 minute and 55 seconds
......@@ -198,7 +198,7 @@ KCM.SimpleKCM {
id: screen
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: Math.max(root.width * 0.8, Kirigami.Units.gridUnit * 26)
Layout.preferredWidth: root.width * 0.8
Layout.topMargin: Kirigami.Units.smallSpacing
Layout.bottomMargin: Kirigami.Units.largeSpacing
......
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