Bug 166582 - Second line of the digital clock applet should be centered
Summary: Second line of the digital clock applet should be centered
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 23:45 UTC by Jonathan Thomas
Modified: 2008-11-17 03:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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