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.
master
jp9000 2015-01-04 00:24:15 -08:00
parent c3e498d25f
commit 290975e3a0
1 changed files with 1 additions and 0 deletions

View File

@ -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();