Skip to content

Commit

Permalink
UI: Increase max combo box items in properties view
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jp9000 committed May 26, 2016
1 parent e77e870 commit fdd5560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions obs/properties-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit fdd5560

Please sign in to comment.