Commit 93198986 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Set sizePolicy for backgroundWidget, so when album art is visible

play/stop/etc. buttons don't jump around when album art size changes.
parent 6a86b0b0
...@@ -173,7 +173,7 @@ BackgroundWidget::BackgroundWidget( intf_thread_t *_p_i ) ...@@ -173,7 +173,7 @@ BackgroundWidget::BackgroundWidget( intf_thread_t *_p_i )
:QWidget( NULL ), p_intf( _p_i ) :QWidget( NULL ), p_intf( _p_i )
{ {
/* We should use that one to take the more size it can */ /* We should use that one to take the more size it can */
// setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ); setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding);
/* A dark background */ /* A dark background */
setAutoFillBackground( true ); setAutoFillBackground( true );
......
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