[Libreoffice-bugs] [Bug 129491] Option buttons have incorrect vertical alignment
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 19 10:59:38 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=129491
--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Since checkbox seems ok, let's compare a bit.
Radiobutton:
1972 rMouseRect = tools::Rectangle(aPos, aSize);
1973 rMouseRect.SetLeft(rPos.X());
1974 rMouseRect.SetTop(rPos.Y());
1975
1976 rStateRect.SetLeft( rPos.X() );
1977 rStateRect.SetTop( rMouseRect.Top() );
(see
https://opengrok.libreoffice.org/xref/core/vcl/source/control/button.cxx?r=80530986#1972)
Checkbox:
2995 rMouseRect = tools::Rectangle( aPos, aSize );
2996 rMouseRect.SetLeft( rPos.X() );
2997 rStateRect.SetLeft( rPos.X() );
2998 rStateRect.SetTop( rMouseRect.Top() );
(see
https://opengrok.libreoffice.org/xref/core/vcl/source/control/button.cxx?r=80530986#2995)
--
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/20191219/45c53b9e/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list