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


https://bugs.documentfoundation.org/show_bug.cgi?id=76825

--- Comment #20 from Caolán McNamara <caolanm@redhat.com> ---
So what's going on here is that the width is the width of the longest text in
the *default* UI font. What we'd have to do is to user-draw *all* the entries
and not just the special ones. Then not store the text to be rendered in the
combobox drop down itself, but store it elsewhere. Calc the width of each entry
ourselves as it will be drawn in the destination text user-draw callback and 
set that width as the user-added-width to the combobox, i.e the width of the
dropdown becomes 0 text entry width as calculated by itself + X extra width as
calculated by us.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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.