Procházet zdrojové kódy

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.
jp9000 před 10 roky
rodič
revize
290975e3a0
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      obs/window-basic-properties.cpp

+ 1 - 0
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();