Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 361 files). Show all
Unified · Split
| @@ -56,7 +56,7 @@ PreferencesDialog::PreferencesDialog(QWidget* parent) : · 55 unmodified lines | |||
| 56 | 56 | ||
| 57 | // move dialog to left side | 57 | // move dialog to left side |
| 58 | move(parentWidget()->geometry().topLeft()); | 58 | move(parentWidget()->geometry().topLeft()); |
| 59 | setFixedHeight(parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING); | 59 | resize(sizeHint().width(), parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING); |
| 60 | 60 | ||
| 61 | UIUtil::scaleWidgetFontSizes(this); | 61 | UIUtil::scaleWidgetFontSizes(this); |
| 62 | } | 62 | } |