Fix scrollbar on empty search results
ClosedPublic

Authored by hein on Mar 12 2018, 8:39 AM.

Details

Summary

ListView.contentItem does crazy things when the view is set
to 0 height, causing ScrollArea to show a scrollbar. This
avoids it.

Also cleans up a warning about anchoring the highlight on
the side.

BUG:391644

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein created this revision.Mar 12 2018, 8:39 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 12 2018, 8:39 AM
hein requested review of this revision.Mar 12 2018, 8:39 AM
mart accepted this revision.Mar 13 2018, 11:56 AM
This revision is now accepted and ready to land.Mar 13 2018, 11:56 AM
This revision was automatically updated to reflect the committed changes.