[lookandfeel] Improve positioning of Clock

Authored by graesslin on Mar 1 2017, 8:02 PM.



The clock so far was manually positioned in a hard coded way which could
result in the clock not being visible or only partly visible. This is the
case for example on my high dpi system with Wayland. See F2672846 for an

This changes the layouting of the clock to use a ColumnLayout, with
spacer elements to ensure that the clock stays visible. It is possible
that the position of the clock now does no longer fully reflects the
ideas of the VDG.

Test Plan

Looks better on my system ;-)

Diff Detail

R120 Plasma Workspace
No Linters Available
No Unit Test Coverage
graesslin created this revision.Mar 1 2017, 8:02 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 1 2017, 8:02 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

Wayland case:

XWayland case:

davidedmundson accepted this revision.Mar 1 2017, 8:12 PM
This revision is now accepted and ready to land.Mar 1 2017, 8:12 PM
This revision was automatically updated to reflect the committed changes.