On Mon, 2011-08-29 at 12:28 +0200, Dávid Vastag wrote:
The problem is that the width of the symbol on the open button is not
taken into account at calculation of overall button width. ... To
solve this issue I have to find a way somehow to extract dynamically
this symbol width information in code. I figured out that I can get it
by functions Button::ImplGetSymbolRect().getWidth() but unfortunately
it gives a kind of uninitialized value ( -32767 ) during the whole
creation of start window I don't know why.
Can you post your code anyway ?, might be easier to debug with the
patch. It might be that the width is requested too early in the startup
order before e.g. fonts have been read to know their size or something
like that. Or it might be something less exotic, easier to know with the
sample code.
C.
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.