[libcalamaresui] Center slideshow pictures

main
Adriaan de Groot 5 years ago
parent 5aafa0f4c4
commit 20c1ae246d

@ -181,6 +181,8 @@ SlideshowPictures::SlideshowPictures( QWidget* parent )
, m_imageIndex( 0 )
, m_images( Branding::instance()->slideshowImages() )
{
m_label->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
m_label->setAlignment( Qt::AlignCenter );
m_timer->setInterval( std::chrono::milliseconds( 2000 ) );
connect( m_timer, &QTimer::timeout, this, &SlideshowPictures::next );
}

Loading…
Cancel
Save