[digital-clock] Introduce new layouting state for small panels

Review Request #124449 - Created July 24, 2015 and submitted

Martin Klapetek
plasma, usability

One of the most reported bugs wrt digital clock is that the second line
text (date or timezone) is unreadable on small panels so this adds new
state to the clock applet that lays things horizontally when the panel
is too small to show text with the "small" font (set in system settings).

When there is a date displayed, a delimiter is put in between to allow
easier and faster spotting the time (as on a first glance there is just
a bunch of numbers, so quickly orienteering is super important). I used
the dot symbol first but then went for pipe which I think looks more clean;
see screenshots for comparison.

I've made a quick video showing the state changes,
see https://www.youtube.com/watch?v=t7w0k8H22h4 - it shows the bullet
delimiter and a bit wrong spacing which is now fixed.

Everything works as it used and now with small panel things are layed
horizontally, see video above.



  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Heiko Tietze
Kai Uwe Broulik
Martin Klapetek
David Edmundson
Martin Klapetek
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 33395e8e4200a5d61e834cdd44a4088ef1b28e4b by Martin Klapetek to branch master.