Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
ae84eab7
Verified
Commit
ae84eab7
authored
Dec 18, 2020
by
Xuetian Weng
Browse files
[kimpanel] Make sure the size does not expand to square when there is no icon.
parent
7a0f9be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/kimpanel/package/contents/ui/main.qml
View file @
ae84eab7
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment