Verified Commit ae84eab7 authored by Xuetian Weng's avatar Xuetian Weng
Browse files

[kimpanel] Make sure the size does not expand to square when there is no icon.

parent 7a0f9be9
......@@ -35,6 +35,8 @@ Item {
Layout.minimumWidth: vertical ? PlasmaCore.Units.iconSizes.small : mainLayout.implicitWidth
Layout.minimumHeight: vertical ? mainLayout.implicitHeight : PlasmaCore.Units.iconSizes.small
Layout.preferredWidth: vertical ? kimpanel.width : mainLayout.implicitWidth
Layout.preferredHeight: !vertical ? kimpanel.height : mainLayout.implicitHeight
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
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