Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello,

13.01.2012 18:15, Tomcsik Bence Tibor пишет:
Hi,

Bug 33794 solved.

IMHO it's better to pass some additional parameter to the layoutButton function ( e.g. int i_nExtraWidth = 0 ) and change:

nTextWidth += maButtonImageSize.Width() + 8; // add some fuzz to be on the safe side

to:

    nTextWidth += maButtonImageSize.Width() + 8 + i_nExtraWidth;

; then use i_nExtraWidth = 18 (as you suggested in the patch: 26 - 8 = 18) for the "Open..." button.

What do you think?

Regards,
Ivan

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.