mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Removed an unnecesary setSizeConstraint call
This setSizeConstraint(QLayout::SetMaximumSize) call
caused the widgets to be improperly sized.
For example: combo boxes with long texts ('big' widget width) not
being completly visible.
This commit is contained in:
@@ -61,7 +61,7 @@ void OBSPropertiesView::RefreshProperties()
|
||||
QSizePolicy mainPolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
QSizePolicy policy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
//widget->setSizePolicy(policy);
|
||||
layout->setSizeConstraint(QLayout::SetMaximumSize);
|
||||
|
||||
layout->setLabelAlignment(Qt::AlignRight);
|
||||
|
||||
obs_property_t *property = obs_properties_first(properties.get());
|
||||
|
||||
Reference in New Issue
Block a user