https://bugs.kde.org/show_bug.cgi?id=352651

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/plas
                   |                            |ma-workspace/8e1339887a01e0
                   |                            |78b04fb18ff575c16998447665
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 8e1339887a01e078b04fb18ff575c16998447665 by David Edmundson.
Committed on 18/09/2016 at 14:52.
Pushed by davidedmundson into branch 'Plasma/5.8'.

Fix panel spacer

Summary:
An expanding spacer had it's minimum size set to the config.length
Allowing the panel to go from config size to infinite.

The problem is the panel length effectively defaults to the size the
spacer starts at (it gets set when we drag it into the right place)
meaning it starts off huge and can never shrink. This then leads to
applets being pushed off the panel.

We want it to be in expanding mode from 0 to config.length
and non expanding to ideally be a fixed width - though still probably
compress if it would otherwise mean the applets would overflow.

Setting the preferred size does all that implicitly; and also sets the
appropriate hint so you can have a spacer in a flexible width panel
correctly.

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: mart, plasma-devel

Tags: #plasma

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

M  +2    -5    applets/panelspacer/contents/ui/main.qml

http://commits.kde.org/plasma-workspace/8e1339887a01e078b04fb18ff575c16998447665

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to