Commit be5925a9 authored by Nate Graham's avatar Nate Graham
Browse files

[kcm/keys] Replace hardcoded sizes with equivalent multiples of GridUnit

This lets them scale with the font size.
parent 8562853b
......@@ -29,8 +29,8 @@ import org.kde.private.kcms.keys 2.0 as Private
KCM.AbstractKCM {
id: root
implicitWidth: 800
implicitHeight: 600
implicitWidth: Kirigami.Units.gridUnit * 44
implicitHeight: Kirigami.Units.gridUnit * 33
property alias exportActive: exportInfo.visible
readonly property bool errorOccured: kcm.lastError != ""
ColumnLayout {
......@@ -87,7 +87,7 @@ KCM.AbstractKCM {
columns: 2
QQC2.ScrollView {
Component.onCompleted: background.visible = true
Layout.preferredWidth: 300
Layout.preferredWidth: Kirigami.Units.gridUnit * 15
Layout.fillHeight:true
ListView {
id: components
......
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