Collapse favorites sidebar when empty

Authored by hein on Aug 15 2017, 10:54 AM.



Users occasionally remove all the favorites with that goal
in mind, and while not showing the empty area might have
consequences if bug 383302 gets imlemented, I think it's
an alright suggestion.


Diff Detail

R119 Plasma Desktop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
hein created this revision.Aug 15 2017, 10:54 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 15 2017, 10:54 AM
davidedmundson accepted this revision.Aug 15 2017, 11:05 AM
davidedmundson added a subscriber: davidedmundson.
davidedmundson added inline comments.

if this is the same as minimumWidth can you just bind to that, it's a bit faster and more readable

This revision is now accepted and ready to land.Aug 15 2017, 11:05 AM
hein updated this revision to Diff 18175.Aug 15 2017, 11:11 AM

Cleanup, and fix some ReferenceErrors I noticed along the way.

This revision was automatically updated to reflect the committed changes.