On Thu, 2012-07-12 at 09:47 +0200, Stefan Knorr wrote:
But: I don't think the width of the area is the only or even the most
important problem – the problem seems to be the clickable area. I've
attached a screenshot of the approximate clickable areas of the button:
the red area are brings up the regular file chooser, the blue area
brings up the list of last opened files.
That's a nice visualisation - thanks !
I wonder if vcl/source/control/button.cxx's random numbers:
// calc Symbol- and Textrect
long nSymbolSize = pDev->GetTextHeight() / 2 + 1;
aInRect.Right() -= 5;
aInRect.Left() = aInRect.Right() - nSymbolSize;
aSize.Width() -= ( 5 + nSymbolSize );
Have anything to do with that; the 'aInRect' calculations seem just a
bit crazy (but I didn't dig too far, and perhaps we don't take that code
path ;-)
Thanks !
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.