[Libreoffice-ux-advise] FDO 47164 (increase backing window recent doc hot spot) Advice
Michael Meeks
michael.meeks at suse.com
Thu Jul 12 08:17:17 PDT 2012
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 at suse.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list