Review Request 126363: Use gridUnit for default panel thickness
Marco Martin
notmart at gmail.com
Tue Dec 15 13:47:02 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126363/#review89545
-----------------------------------------------------------
Ship it!
I like it ;)
- Marco Martin
On Dec. 15, 2015, 1:38 p.m., Eike Hein wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126363/
> -----------------------------------------------------------
>
> (Updated Dec. 15, 2015, 1:38 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-desktop
>
>
> Description
> -------
>
> This makes the initial panel thickness scale.
>
> I've removed the calculation taking screen res into account because res != physical size, and this is not actually working on my three systems (screenGeometry.height() is always 0), nor have I seen proportionally larger panels on screenshots. If it's not working it means nobody is used to getting a larger panel, nor have there been complaints, so we can drop this complexity. It also means we don't have to work in half-gridUnits to get close to the original value (if you assume the original delta was chosen on a 96 dpi system).
>
>
> Diffs
> -----
>
> layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js 46b1f3b
>
> Diff: https://git.reviewboard.kde.org/r/126363/diff/
>
>
> Testing
> -------
>
> Default panel thickness now comes out as 28px instead of 27px on a 96 dpi test system.
>
>
> Thanks,
>
> Eike Hein
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151215/47b8ad49/attachment-0001.html>
More information about the Plasma-devel
mailing list