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:
parent
c23c0f4615
commit
4c3394f7bf
@ -55,6 +55,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
|||||||
|
|
||||||
if (cx > 400 && cy > 400)
|
if (cx > 400 && cy > 400)
|
||||||
resize(cx, cy);
|
resize(cx, cy);
|
||||||
|
else
|
||||||
|
resize(720, 580);
|
||||||
|
|
||||||
QMetaObject::connectSlotsByName(this);
|
QMetaObject::connectSlotsByName(this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user