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.
--
[email protected] <><, Pseudo Engineer, itinerant idiot
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice