Commit 41d28327 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: change default sizes

Close #3340
parent ca0eddec
...@@ -90,7 +90,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par ) ...@@ -90,7 +90,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
playlist_item_t *p_root = THEPL->p_playing; playlist_item_t *p_root = THEPL->p_playing;
PL_UNLOCK; PL_UNLOCK;
setMinimumWidth( 350 ); setMinimumWidth( 400 );
PLModel *model = new PLModel( p_playlist, p_intf, p_root, this ); PLModel *model = new PLModel( p_playlist, p_intf, p_root, this );
mainView = new StandardPLPanel( this, p_intf, p_root, selector, model ); mainView = new StandardPLPanel( this, p_intf, p_root, selector, model );
......
...@@ -148,6 +148,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf ) ...@@ -148,6 +148,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
palette.setColor( QPalette::Window, QColor(209,215,226) ); palette.setColor( QPalette::Window, QColor(209,215,226) );
setPalette( palette ); setPalette( palette );
#endif #endif
setMinimumHeight( 120 );
} }
PLSelector::~PLSelector() PLSelector::~PLSelector()
......
...@@ -253,7 +253,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -253,7 +253,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/**** FINAL SIZING and placement of interface */ /**** FINAL SIZING and placement of interface */
settings->beginGroup( "MainWindow" ); settings->beginGroup( "MainWindow" );
QVLCTools::restoreWidgetPosition( settings, this, QSize(400, 100) ); QVLCTools::restoreWidgetPosition( settings, this, QSize(600, 420) );
settings->endGroup(); settings->endGroup();
b_interfaceFullScreen = isFullScreen(); b_interfaceFullScreen = isFullScreen();
...@@ -398,7 +398,7 @@ void MainInterface::createMainWidget( QSettings *settings ) ...@@ -398,7 +398,7 @@ void MainInterface::createMainWidget( QSettings *settings )
mainLayout->insertWidget( 1, stackCentralW ); mainLayout->insertWidget( 1, stackCentralW );
settings->beginGroup( "MainWindow" ); settings->beginGroup( "MainWindow" );
stackWidgetsSizes[bgWidget] = settings->value( "bgSize", QSize( 400, 0 ) ).toSize(); stackWidgetsSizes[bgWidget] = settings->value( "bgSize", QSize( 600, 0 ) ).toSize();
/* Resize even if no-auto-resize, because we are at creation */ /* Resize even if no-auto-resize, because we are at creation */
resizeStack( stackWidgetsSizes[bgWidget].width(), stackWidgetsSizes[bgWidget].height() ); resizeStack( stackWidgetsSizes[bgWidget].width(), stackWidgetsSizes[bgWidget].height() );
...@@ -739,7 +739,7 @@ void MainInterface::createPlaylist() ...@@ -739,7 +739,7 @@ void MainInterface::createPlaylist()
if( b_plDocked ) if( b_plDocked )
{ {
stackCentralW->addWidget( playlistWidget ); stackCentralW->addWidget( playlistWidget );
stackWidgetsSizes[playlistWidget] = settings->value( "playlistSize", QSize( 500, 250 ) ).toSize(); stackWidgetsSizes[playlistWidget] = settings->value( "playlistSize", QSize( 600, 300 ) ).toSize();
} }
else else
{ {
......
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