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

[applets/systemtray] Set list sizes correctly

1. Use Kirigami, not PlasmaCore, since this is a config window
2. Remoce PlasmaCore import now that it's no longer used
3. Set implicitWidth/height on Kirigami.Icon, not width/height
4. Use SmallMedium icon sizes, which is typical for list items like this
parent 62925937
......@@ -22,7 +22,6 @@ import QtQuick 2.5
import QtQuick.Controls 2.5 as QQC2
import QtQuick.Layouts 1.3
import org.kde.plasma.core 2.1 as PlasmaCore
import org.kde.kquickcontrols 2.0 as KQC
import org.kde.kirigami 2.10 as Kirigami
......@@ -72,8 +71,8 @@ ColumnLayout {
ListView {
id: itemsList
property var visibilityColumnWidth: PlasmaCore.Units.gridUnit
property var keySequenceColumnWidth: PlasmaCore.Units.gridUnit
property var visibilityColumnWidth: Kirigami.Units.gridUnit
property var keySequenceColumnWidth: Kirigami.Units.gridUnit
clip: true
......@@ -123,8 +122,8 @@ ColumnLayout {
Layout.fillWidth: true
Kirigami.Icon {
width: PlasmaCore.Units.iconSizes.small
height: width
implicitWidth: Kirigami.Units.iconSizes.smallMedium
implicitHeight: Kirigami.Units.iconSizes.smallMedium
source: model.decoration
QQC2.Label {
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