Panel spacer that can center things

Authored by mart on Feb 25 2020, 2:53 PM.

Description

Panel spacer that can center things

Summary:

  • Make the panel spacer take a lot more space when is in expanding mode, so much

to "win" against the taskbar and collapse it to its minimum size (seems the
most expected behavior after some discussions in vdg channel)

  • make it paint a background when in edit mode
  • when two spacers are present in the panel, they try to center all the content

that is in between them (if possible), so that is always at the center of the panel,
even if there is more content on one side rather than the other

Test Plan:

Reviewers: Plasma, VDG, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: davidedmundson, davidre, broulik, ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27481

Details

Committed
martFeb 25 2020, 3:02 PM
Reviewer
Plasma
Differential Revision
D27481: Panel spacer that can center things
Parents
R120:05353f12e8fe: Merge branch 'Plasma/5.18'
Branches
Unknown
Tags
Unknown