Advice needed : making options dialog slightly wider

Caolán McNamara caolanm at redhat.com
Fri Jan 17 05:24:28 PST 2014


On Thu, 2014-01-16 at 19:47 +0100, Jean-Baptiste Faure wrote:
> Doing some tests (before this commit) I discovered that the apparent
> size of the font in the UI (and, as consequence, if all widgets have
> enough room in the dialog) depends on at least two factors:
> 1/ if the checkbox "Use the system font for the user interface" is
> checked or not ;
> 2/ at the OS level, what scale factor is used for the text.

And I think there is another input. There is some black magic somewhere
that multiplies the width of an average character by a
language-dependent X, e.g. * 1.2 for French and 1.3 for Russian. I can't
remember where that code/table is but hopefully we can get rid of it at
some stage.

C.



More information about the LibreOffice mailing list