Commit c23c9ae9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Sizing, first step for the Playlist. Impeach the playlist to collapse...

Qt4 - Sizing, first step for the Playlist. Impeach the playlist to collapse but let the selector collapse.

parent a3883709
...@@ -286,7 +286,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_intf ) : ...@@ -286,7 +286,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_intf ) :
/* Source Selector */ /* Source Selector */
selector = new PLSelector( this, p_intf, THEPL ); selector = new PLSelector( this, p_intf, THEPL );
selector->setMaximumWidth( 130 );
left->addWidget( selector ); left->addWidget( selector );
/* Art label */ /* Art label */
...@@ -324,7 +323,12 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_intf ) : ...@@ -324,7 +323,12 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_intf ) :
addWidget( leftW ); addWidget( leftW );
addWidget( rightPanel ); addWidget( rightPanel );
/* FIXME Sizing to do */ leftW->setMaximumWidth( 250 );
setCollapsible( 1, false );
QList<int> sizeList;
sizeList << 180 << 520 ;
setSizes( sizeList );
} }
void PlaylistWidget::setArt( QString url ) void PlaylistWidget::setArt( QString url )
......
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