Commit 1630833f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix small quirk when adapting the equalizer values

parent 0efead41
......@@ -911,9 +911,10 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
bands[i] = new QSlider( Qt::Vertical );
bands[i]->setMaximum( 400 );
bands[i]->setValue( 200 );
bands[i]->setMinimumWidth(34);
CONNECT( bands[i], valueChanged( int ), this, setCoreBands() );
band_texts[i] = new QLabel( band_frequencies[i] + "\n0.0dB" );
band_texts[i] = new QLabel( band_frequencies[i] + "\n00.0dB" );
band_texts[i]->setFont( smallFont );
grid->addWidget( bands[i], 0, i );
......
......@@ -113,7 +113,7 @@
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
......
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