D12072: use ConstrainedSquare as formFactor

2018-04-09 Thread Kai Uwe Broulik
broulik requested changes to this revision.
broulik added a comment.
This revision now requires changes to proceed.


  This doesn't work.
  
  - ```Containment::restore(KConfigGroup&)``` overwrites it with the form 
factor stored in config
  - ```SystemTrayContainer``` also overwrites it depending on the container's 
form factor

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D12072

To: mart, #plasma, broulik
Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D12072: use ConstrainedSquare as formFactor

2018-04-09 Thread Marco Martin
mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
mart requested review of this revision.

REVISION SUMMARY
  all systray applets will be in the constrainedsquare formfactor,
  as they can't grow neither horizontally nor vertically

TEST PLAN
  default applets seems to work unchanged

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D12072

AFFECTED FILES
  applets/systemtray/systemtray.cpp

To: mart, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart