improve position of Clock
ClosedPublic

Authored by mart on Mar 22 2017, 10:04 AM.

Details

Summary

take into account the size of the empty area before the
user icons, make the clock disappear when there isn't
enough room for it anymore, as user icons
are more important. Same change in queue for
the lock screen as well

Test Plan

tested in sddm test ui, resized the window to different sizes
to veryfy the layout looks sane in different conditions and
that disappears first the clock, then the user list and the
input fields always stay uncovered
replaces D5063

Diff Detail

Repository
R120 Plasma Workspace
Branch
phab/clockposition
Lint
No Linters Available
Unit
No Unit Test Coverage
mart created this revision.Mar 22 2017, 10:04 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 22 2017, 10:04 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

Fine with me, but it goes against the mockup.

make the clock disappear when there isn't enough room for it anymore, as user icons are more important

That already happens... it's the visible: y>0 line that was there before.

This revision was automatically updated to reflect the committed changes.