Merge pull request #6429 from ZappoMan/samConditionalLove

make preferences dialog resizable
This commit is contained in:
samcake 2015-11-18 18:07:07 -08:00
commit 90ee205a66

View file

@ -56,7 +56,7 @@ PreferencesDialog::PreferencesDialog(QWidget* parent) :
// move dialog to left side
move(parentWidget()->geometry().topLeft());
setFixedHeight(parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING);
resize(sizeHint().width(), parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING);
UIUtil::scaleWidgetFontSizes(this);
}