[lookandfeel] Improve positioning of Clock
ClosedPublic

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

Details

Summary

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
example.

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

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.