Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Desktop
Commits
ae84eab7
Verified
Commit
ae84eab7
authored
Dec 18, 2020
by
Xuetian Weng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
applets/kimpanel/package/contents/ui/main.qml
applets/kimpanel/package/contents/ui/main.qml
+2
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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