Di Dmitry
On 2011-08-23 at 13:23 +0400, Dmitry. A. Ashkadov wrote:
For example, there is small bug corresponding to this problem. See
function «ImplDrawDropdownArrow» in «toolbox.cxx» («vcl» module).
A lines
long x = rDropDownRect.Left() + (rDropDownRect.getWidth() -
width)/2;
long y = rDropDownRect.Top() + (rDropDownRect.getHeight() -
height)/2;
use wrong functions getHeight() and getWidth() , but really should use
GetHeight() and GetWidth().
So, this problem causes the dropdown arrows of menubuttons on
toolboxes to be shifted left.
Shifted left dropdown arrow
This code got changed a lot in master:
http://artax.karlin.mff.cuni.cz/~kendy/blog/archives/permalinks/2011-06-14T10_29_17.html
So I hope this wrong computation is gone there ;-) If not, further
improvements are welcome!
Thank you,
Kendy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.