Description: On font tab page (for example on Character Properties dialog) the different font languages are displayed differently. Compare the Western Text Font and Asian Text Font language field. For Asian Font there is some additional space before the selected language while for Western Font there is nothing like that. The same white space is there in the list when you open the combobox. Would be good to avoid adding that additional white space, since it's no purpose (It's a good easy hack candidate) Steps to Reproduce: 1. Open any properties dialog which has font tab page Actual Results: Asian Font language is displayed with some additional whitespace before it. Expected Results: Additional whitespaces should be removed both from the edit field of the combobox and also from the list of the combobox. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Created attachment 135507 [details] Screenshot showing the whitespace
Reproduced in Version: 6.0.0.0.alpha0+ Build ID: ef2e6260fad38e26c8591ea88ded348db618270d CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group and back to Version: 4.1.0.0.alpha1+ Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40 I guess in the pass there was an icon displayed in that space...
I checked it again. It seems sometimes an icon is displayed next to the language name in the list. It must be something related to available spellchecker. So it's functional that we have that additional space in the list items. However what we can fix here is the inconsistency of the different language boxes. The difference comes from that Western language box is combox (you can type in the field), while the other two are simple listboxes. Since combobox has a feature of that we can find item faster by typing the first characters, it would be the best to convert the other two language box also to a combobox, so they will display languages consistently.
Let's turn this into a easy hack. The code is here: cui/uiconfig/ui/charnamepage.ui -> defines the structure of the font page cui/source/tabpages/chardlg.cxx -> implementation of the font page
(In reply to Tamás Zolnai from comment #4) > Let's turn this into a easy hack. The code is here: > cui/uiconfig/ui/charnamepage.ui -> defines the structure of the font page > cui/source/tabpages/chardlg.cxx -> implementation of the font page The task here to convert Asian and CTL font language boxes to comboboxes (the same combobox type as Western language box has)
Better to close this bug. It's not clear which widget is the best to use for language boxes.