[Libreoffice-ux-advise] [Bug 76825] UI: Styles drop down menu is too narrow in Libreoffice Writer (comment #16)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 13 05:37:39 PST 2015


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

--- Comment #20 from Caolán McNamara <caolanm at 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.


More information about the Libreoffice-ux-advise mailing list