Make Database dialog look acceptable at low resolution. Fixes #178