diff --git a/interface/src/ui/PreferencesDialog.cpp b/interface/src/ui/PreferencesDialog.cpp
index a1f0f4e2d4..961c728fcc 100644
--- a/interface/src/ui/PreferencesDialog.cpp
+++ b/interface/src/ui/PreferencesDialog.cpp
@@ -16,6 +16,8 @@
#include "PreferencesDialog.h"
#include "UserActivityLogger.h"
+const int PREFERENCES_HEIGHT_PADDING = 20;
+
PreferencesDialog::PreferencesDialog() :
QDialog(Application::getInstance()->getWindow()) {
@@ -31,8 +33,8 @@ PreferencesDialog::PreferencesDialog() :
connect(ui.buttonReloadDefaultScripts, &QPushButton::clicked,
Application::getInstance(), &Application::loadDefaultScripts);
// move dialog to left side
- move(0, 0);
- setWindowState(Qt::WindowMaximized);
+ move(parentWidget()->geometry().topLeft());
+ setFixedHeight(parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING);
}
void PreferencesDialog::accept() {
diff --git a/interface/ui/preferencesDialog.ui b/interface/ui/preferencesDialog.ui
index 2ec8579383..1f7439a749 100644
--- a/interface/ui/preferencesDialog.ui
+++ b/interface/ui/preferencesDialog.ui
@@ -33,8 +33,8 @@
0
0
- 501
- 491
+ 500
+ 481
@@ -60,8 +60,8 @@
0
0
- 501
- 1435
+ 500
+ 1347
@@ -97,7 +97,7 @@
Arial
- 20
+ 18
75
true
@@ -133,7 +133,7 @@
Arial
- 16
+ 14
@@ -188,13 +188,13 @@
0
- 25
+ 28
Arial
- 16
+ 14
@@ -244,7 +244,6 @@
Arial
- 14
@@ -271,13 +270,13 @@
0
- 25
+ 28
Arial
- 16
+ 14
@@ -324,7 +323,6 @@
Arial
- 14
@@ -357,7 +355,7 @@
Arial
- 20
+ 18
75
true
@@ -384,13 +382,13 @@
0
- 25
+ 22
Arial
- 16
+ 13
@@ -445,7 +443,6 @@
Arial
- 14
@@ -478,7 +475,7 @@
Arial
- 20
+ 18
75
true
@@ -505,13 +502,13 @@
0
- 25
+ 22
Arial
- 16
+ 13
@@ -566,7 +563,6 @@
Arial
- 14
@@ -605,7 +601,6 @@
Arial
- 14
@@ -630,7 +625,7 @@
Arial
- 20
+ 18
75
true
@@ -663,7 +658,7 @@
32
- 32
+ 28
@@ -675,7 +670,6 @@
Arial
- 13
@@ -713,13 +707,13 @@
0
- 40
+ 35
Arial
- 20
+ 18
75
true
@@ -741,13 +735,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -823,13 +817,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -941,9 +935,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Lean scale (applies to Faceshift users)
@@ -1005,13 +996,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1020,9 +1011,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Avatar scale <span style=" color:#909090;">(default is 1.0)</span>
@@ -1081,13 +1069,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1096,9 +1084,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Pupil dillation
@@ -1177,7 +1162,6 @@
Arial
- 13
@@ -1191,13 +1175,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1206,9 +1190,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Static Jitter Buffer Frames
@@ -1276,13 +1257,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1291,9 +1272,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Max Frames Over Desired
@@ -1349,97 +1327,6 @@
- -
-
-
- 0
-
-
- 8
-
-
- 0
-
-
- 8
-
-
-
-
-
-
- Arial
-
-
-
- color: rgb(51, 51, 51)
-
-
- Max Frames Over Desired
-
-
- 0
-
-
- maxFramesOverDesiredSpin
-
-
-
- -
-
-
-
- Arial
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 100
- 0
-
-
-
-
- 70
- 16777215
-
-
-
-
- Arial
-
-
-
- 0
-
-
- 10000
-
-
- 1
-
-
-
-
-
-
@@ -1482,13 +1369,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1497,9 +1384,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Window A Starve Threshold
@@ -1573,13 +1457,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1588,9 +1472,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Window A (raise desired on N starves) Seconds
@@ -1664,13 +1545,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1679,9 +1560,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Window B (desired ceiling) Seconds
@@ -1791,13 +1669,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1806,9 +1684,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Faceshift eye detection
@@ -1875,13 +1750,13 @@
0
- 35
+ 33
Arial
- 20
+ 18
50
false
@@ -1903,13 +1778,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -1918,9 +1793,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Maximum voxels
@@ -1979,13 +1851,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -2060,13 +1932,13 @@
0
- 35
+ 33
Arial
- 20
+ 18
50
false
@@ -2088,13 +1960,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -2103,9 +1975,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
User Interface Angular Size
@@ -2175,13 +2044,13 @@
0
- 35
+ 33
Arial
- 20
+ 18
50
false
@@ -2202,7 +2071,7 @@
0
- 40
+ 35
@@ -2233,13 +2102,13 @@
0
- 8
+ 7
0
- 8
+ 7
-
@@ -2248,9 +2117,6 @@
Arial
-
- color: rgb(51, 51, 51)
-
Reticle Movement Speed
@@ -2352,7 +2218,6 @@
Arial
- 14
@@ -2368,7 +2233,6 @@
Arial
- 14