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

--- Comment #20 from Caolán McNamara <[email protected]> ---
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 the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to