Commit 4a3c63fe authored by Nate Graham's avatar Nate Graham
Browse files

[sidebar view] Set icon sizes properly on home screen

parent 6cc77aef
...@@ -48,8 +48,8 @@ Rectangle { ...@@ -48,8 +48,8 @@ Rectangle {
Kirigami.Icon { Kirigami.Icon {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
source: "preferences-system" source: "preferences-system"
width: Kirigami.Units.iconSizes.enormous Layout.preferredWidth: Kirigami.Units.iconSizes.enormous
height: width Layout.preferredHeight: Kirigami.Units.iconSizes.enormous
} }
Item { Item {
width: Kirigami.Units.largeSpacing width: Kirigami.Units.largeSpacing
...@@ -61,8 +61,8 @@ Rectangle { ...@@ -61,8 +61,8 @@ Rectangle {
source: Qt.resolvedUrl("../images/plasma-logo.svg") source: Qt.resolvedUrl("../images/plasma-logo.svg")
color: Kirigami.Theme.textColor color: Kirigami.Theme.textColor
isMask: true isMask: true
width: Kirigami.Units.iconSizes.medium Layout.preferredWidth: Kirigami.Units.iconSizes.medium
height: width Layout.preferredHeight: Kirigami.Units.iconSizes.medium
} }
Kirigami.Heading { Kirigami.Heading {
text: i18n("Plasma") text: i18n("Plasma")
......
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