diff --git a/src/lib/preferences/preferences.cpp b/src/lib/preferences/preferences.cpp
index 859e980ca..55077d460 100644
--- a/src/lib/preferences/preferences.cpp
+++ b/src/lib/preferences/preferences.cpp
@@ -479,6 +479,12 @@ void Preferences::showStackedPage(QListWidgetItem* item)
if (index == 10) {
m_pluginsList->load();
}
+
+ // Update size
+ QWidget* w = ui->stackedWidget->currentWidget();
+ if (w) {
+ w->setMinimumSize(w->sizeHint());
+ }
}
void Preferences::setNotificationPreviewVisible(bool state)
diff --git a/src/lib/preferences/preferences.ui b/src/lib/preferences/preferences.ui
index 51dd1c867..cd723463f 100644
--- a/src/lib/preferences/preferences.ui
+++ b/src/lib/preferences/preferences.ui
@@ -10,12 +10,6 @@
500
-
-
- 800
- 500
-
-
Preferences
@@ -159,9 +153,6 @@
Qt::NoFocus
-
- 0
-
-
@@ -648,8 +639,8 @@
-
- -
+
+
-
0