Related: rhbz#1047871 conditional formatting doesn't fit on screen

Change-Id: I886030c056fe802279f9e16c6f85736b0c4587c6
(cherry picked from commit 6d2ffbaeced98769912f2b4769fc23093b3d8d7f)
Reviewed-on: https://gerrit.libreoffice.org/7406
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>