Commit 586296da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix volume alignment in native look

As reported on Reddit
parent 2d37a070
......@@ -64,7 +64,7 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
volumeControlWidget = NULL;
/* And add the label */
layout->addWidget( volMuteLabel, 0, Qt::AlignBottom );
layout->addWidget( volMuteLabel, 0, b_shiny? Qt::AlignBottom : Qt::AlignCenter );
}
else
{
......@@ -105,7 +105,7 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
if( b_special )
subLayout->addWidget( volumeSlider );
else
layout->addWidget( volumeSlider, 0, Qt::AlignBottom );
layout->addWidget( volumeSlider, 0, b_shiny? Qt::AlignBottom : Qt::AlignCenter );
/* Set the volume from the config */
float volume = playlist_VolumeGet( THEPL );
......
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