Bug 166582

Summary: Second line of the digital clock applet should be centered
Product: [Unmaintained] plasma4 Reporter: Jonathan Thomas <echidnaman>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Thomas 2008-07-14 23:45:31 UTC
Version:            (using KDE 4.0.83)
Installed from:    Ubuntu Packages
Compiler:          gcc 
OS:                Linux

It would be nice if the second row of the digital clock applet would be centered. (This is the row that optionally holds the date and timezone) it would just make everything look nicer.

Rock on!
Comment 1 Chani 2008-07-15 06:38:56 UTC
it is centred while on the panel. looks like the calculations are a little off when it's on the desktop - it's slightly left of the time, almost as if it *would* be centred if the font was a little bigger.
Comment 2 Sebastian Kügler 2008-11-17 03:22:34 UTC
SVN commit 885320 by sebas:

Scale the subtext font up, correctly align it to the time

The rect used for placing the subtext was a aligned to the left of the
applet, not to the contensRect, so it misaligns as soon as there's a
background set.
BUG:166582

Also made the subtext font scale up a bit, improves usage on very high
dpi displays.

 M  +11 -5     clock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=885320