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:
HomeWorld 2015-01-05 15:41:25 +02:00
parent 181fe23834
commit d9ec2128f2

View file

@ -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());