[Libreoffice-bugs] [Bug 130991] Toolbar arrows too large on 200% scaling
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 18 07:44:06 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130991
Heiko Tietze <heiko.tietze at documentfoundation.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.meeks at collabora.com
--- Comment #5 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
(In reply to Klaus1189 from comment #3)
> Created attachment 158758 [details]
> comparison of 6.2.8.2 and 6.4.1.2
bug 122118 refers to this patch
https://cgit.freedesktop.org/libreoffice/core/commit/?id=b62c43d1200e524369d9c7c2bd1dad3044efd672
Reason was likely the introduction of antialiasing but the past drawing
function was also not really convincing
while( width >= 1)
{
rRenderContext.DrawRect( tools::Rectangle( x, y, x+width-1, y ) );
y++;
x++;
width -= 2;
}
If we go ahead, and I would do only if more complaints come in, we should
reduce the effect of scaling like
long width = round(rDropDownRect.getHeight()/5.5) * fScaleFactor * 0.9;
I introduced the values of 5.5 and 7 for bug 122118 by trial and error as
approximation to the normal expander triangle at 100%. Doing the same for
higher scaling makes no sense without hires screen.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200318/3c184d0a/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list