Summary: | Second line of the digital clock applet should be centered | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Jonathan Thomas <echidnaman> |
Component: | widget-clock | Assignee: | 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
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. 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 |