This fixes the layout problems introduced with the Qt6 port GnuPG-Bug-ID: 7039 (cherry picked from commit 00c0730f)