Skip to content
Snippets Groups Projects
Commit b8acf760 authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

qt: fix `StringListConfigControl` height

Experiments proved that `fixed` should be the default for this type of
control; it otherwise expands to capture additional height in some layouts.
parent 9ec6146c
No related branches found
No related tags found
1 merge request!1344qt: add 'expert' preferences mode
......@@ -441,7 +441,7 @@ StringListConfigControl::StringListConfigControl( module_config_t *_p_item,
label = new QLabel( qfut(p_item->psz_text), p );
combo = new QComboBox( p );
combo->setMinimumWidth( MINWIDTH_BOX );
combo->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Preferred );
combo->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Fixed );
/* needed to see update from getting choice list where callback used */
module_config_t *p_module_config = config_FindConfig( p_item->psz_name );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment