digital-clock: Fix font size of date label in small panels
Review Request #127393 - Created March 16, 2016 and discarded
Currently the digital clock applet uses a fixed font size for the date label when it's placed in a narrow horizontal panel.
With this patch the same font size is used as for the time label.
As mentioned at https://git.reviewboard.kde.org/r/127102/ I'm not sure if the current design is a bug or intentional.
On the one hand having a smaller font size reduces the width of the applet, on the other hand having the same font size is more consistent.
I would prefer a consistent look however.
This patch creates one problem though. Currently the height of the date-time-separator is set to the height of the (fixed) date label font size.
With this patch I set the separator height to 70% of the applet height.
|You can't set both, it will print an error that you can't and one is ignored Also leave this in ...||Martin Klapetek|