From 290975e3a061d97b1439a70d43319094c1beb5ce Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 4 Jan 2015 00:24:15 -0800 Subject: [PATCH] UI: Set a maximum height to properties scroll area When a source has a lot of properties, the scroll area containing them would try to expand to fit them all, often leaving the preview area super squished. So this just sets a maximum height for the properties scroll area. --- obs/window-basic-properties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/obs/window-basic-properties.cpp b/obs/window-basic-properties.cpp index d866fa4ec..116ec31ab 100644 --- a/obs/window-basic-properties.cpp +++ b/obs/window-basic-properties.cpp @@ -61,6 +61,7 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_) layout()->addWidget(view); layout()->setAlignment(view, Qt::AlignBottom); + view->setMaximumHeight(250); view->setMinimumHeight(150); view->show();