Преглед изворни кода

UI: Use a default size for the properties window

When I changed the properties window to remove the .ui file, I forgot to
give it a default initial size.  This just sets it to 720x580 by
default.
jp9000 пре 10 година
родитељ
комит
4c3394f7bf
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      obs/window-basic-properties.cpp

+ 2 - 0
obs/window-basic-properties.cpp

@@ -55,6 +55,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
 
 	if (cx > 400 && cy > 400)
 		resize(cx, cy);
+	else
+		resize(720, 580);
 
 	QMetaObject::connectSlotsByName(this);