place some elements side by side to regain a line

Change-Id: I9b838b6c00bc6e456adcf5d63c9936c08bf0d1aa
(cherry picked from commit 5eaa0135c3ffc46ce601ea4cbaaa17eabe44e6ee)
(cherry picked from commit 0d5397234b7589617970bb20d8fb3ad07a4587a1)
Reviewed-on: https://gerrit.libreoffice.org/7475
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>