Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Bluedevil
Commits
4b560040
Commit
4b560040
authored
Apr 14, 2021
by
Nate Graham
Browse files
[applet] Set height of unloaded separator to 0 to avoid layout oddities
parent
bc647972
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/applet/package/contents/ui/FullRepresentation.qml
View file @
4b560040
...
...
@@ -80,6 +80,10 @@ PlasmaComponents3.Page {
// separate the connected devices from the available ones
section.delegate
:
Loader
{
active
:
section
!=
"
Connected
"
&&
Logic
.
conectedDevicesCount
()
>
0
// Need to manually set the height or else the loader takes up
// space after the first time it unloads a previously-loaded item
height
:
active
?
PlasmaCore
.
Units
.
gridUnit
:
0
sourceComponent
:
Item
{
width
:
listView
.
width
height
:
PlasmaCore
.
Units
.
gridUnit
...
...
Write
Preview
Supports
Markdown
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