Fix preferences on short desktops.
For short desktop viewport heights, shrink the QScrollArea to let the window fit.