Просмотр исходного кода

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 лет назад
Родитель
Сommit
fdd556056f
1 измененных файлов с 2 добавлено и 0 удалено
  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 &&