[PATCH] adjustment of Calc default options dialog

Jean-Baptiste Faure jbf.faure at sud-ouest.org
Tue Aug 21 13:43:46 PDT 2012


Hi,

Here is a small patch which makes the Calc options dialog "Default" able
to have translated labels longer than the original English. For example
in French the label on the second line (Nom de préfixe pour la nouvelle
feuille de calcul / Prefix name for new worksheet) is truncated before
the last word under Linux and before the last letter under MS-Windows.

The current code compare the length of the label and the length of the
string it contains. If the string is longer, the size of the label is
recalculated. It does that only for the first line of the option dialog.
My patch extends this code to both lines of the dialog.

Thank you to Arnaud for his kind advices.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-The-label-size-is-computed-from-the-length-of-the-st.patch
Type: text/x-diff
Size: 2084 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120821/832e2416/attachment.patch>


More information about the LibreOffice mailing list