Browse Source

UI: Increase max combo box items in properties view

It's annoying when you can't see more than 10 items in a combo box and
are forced to use a scroll bar on a combo box.
jp9000 9 years ago
parent
commit
fdd556056f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      obs/properties-view.cpp

+ 2 - 0
obs/properties-view.cpp

@@ -470,6 +470,8 @@ QWidget *OBSPropertiesView::AddList(obs_property_t *prop, bool &warning)
 	if (type == OBS_COMBO_TYPE_EDITABLE)
 		combo->setEditable(true);
 
+	combo->setMaxVisibleItems(40);
+
 	string value = from_obs_data(settings, name, format);
 
 	if (format == OBS_COMBO_FORMAT_STRING &&