Prefs pane sizing to font size

.. to stop it being too small when you select a larger font.
This commit is contained in:
Mark Liversedge
2013-12-06 13:01:29 +00:00
parent 79a2efc6ee
commit b7c43408ea

View File

@@ -44,7 +44,9 @@ ConfigDialog::ConfigDialog(QDir _home, Zones *_zones, Context *context) :
#else
QToolBar *head = addToolBar(tr("Options"));
head->setMovable(false); // oops!
setFixedSize(530,580);
QFont defaultFont;
setFixedSize(53 * defaultFont.pointSize(),580);
#endif
// icons