[Preferences] Fixed size of dialog on low-res screens.

Preferences content moved into QScrollArea
Closes #818