Review Request 115431: Fix the numbers cut off problem in digital clock applet
Yichao Zhou
broken.zhou at gmail.com
Mon Feb 3 11:38:58 UTC 2014
> On Feb. 3, 2014, 9:35 a.m., David Edmundson wrote:
> > plasma/generic/applets/digital-clock/clock.cpp, line 736
> > <https://git.reviewboard.kde.org/r/115431/diff/3/?file=241362#file241362line736>
> >
> > Why this change?
If this patch applies, the font will be smaller than before. I hope that a smaller step can lead to a larger but valid font size to cancel out this effect.
> On Feb. 3, 2014, 9:35 a.m., David Edmundson wrote:
> > plasma/generic/applets/digital-clock/clock.cpp, line 714
> > <https://git.reviewboard.kde.org/r/115431/diff/3/?file=241362#file241362line714>
> >
> > myText is an unhelpful variable name.
> > Can we think of something better? Maybe "maximumWidthTetx" or something?
I will fix that.
- Yichao
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115431/#review48794
-----------------------------------------------------------
On Feb. 2, 2014, 12:31 p.m., Yichao Zhou wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115431/
> -----------------------------------------------------------
>
> (Updated Feb. 2, 2014, 12:31 p.m.)
>
>
> Review request for Plasma.
>
>
> Bugs: 228902
> http://bugs.kde.org/show_bug.cgi?id=228902
>
>
> Repository: kde-workspace
>
>
> Description
> -------
>
> For bug, see
> https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1052059 and
> https://bugs.kde.org/show_bug.cgi?id=228902
>
> The problem is that in original code, it always uses 23:59 to calculate the width of the text. However, in some font, AM is wider than PM, and 0 is wider than 2 and 5. That causes some fonts been cropped.
>
>
> Diffs
> -----
>
> plasma/generic/applets/digital-clock/clock.cpp f26e328
>
> Diff: https://git.reviewboard.kde.org/r/115431/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Yichao Zhou
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140203/25cf6cec/attachment.html>
More information about the Plasma-devel
mailing list