mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user