Resolves: fdo#72233 too long style names over-stretch dialog

Change-Id: Id6f102a3def1928ad8f6b4d27eb32f8c69bdba49
(cherry picked from commit a95888e6e62a702f4b9af4a68c44339b51dc283e)
Reviewed-on: https://gerrit.libreoffice.org/8086
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>