Commit a81ef7d3 authored by luyikei's avatar luyikei

PreferenceWidget: Workaround wrong row height for FolderListWidget

parent 833ac8d8
......@@ -62,6 +62,8 @@ PreferenceWidget::PreferenceWidget( const QString &name, const char *label, Sett
continue ;
ISettingsCategoryWidget *widget = widgetFactory( s );
QLabel *label = new QLabel( tr( s->name() ), this );
if ( s->flags().testFlag( SettingValue::Folders ) == true )
label->setMinimumHeight( 650 ); // The expected height of FolderListWidget
label->setToolTip( tr( s->description() ) );
m_labels.insert( s, label );
widget->setToolTip( s->description() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment