Commit 5aad31ca authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Make the default interface smaller.

parent b6a1348f
......@@ -505,6 +505,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
controlLayout->setColumnStretch( 7, 0 );
controlLayout->setColumnStretch( 8, 0 );
controlLayout->setColumnStretch( 9, 0 );
/*
* Other first Line buttons
*/
......@@ -529,6 +530,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
controlLayout->addWidget( extSettingsButton, 3, 12, Qt::AlignBottom );
controlLayout->setColumnStretch( 13, 0 );
controlLayout->setColumnMinimumWidth( 13, 24 );
controlLayout->setColumnStretch( 14, 5 );
/* Volume */
......
......@@ -286,6 +286,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
CONNECT( controls, advancedControlsToggled( bool ),
this, doComponentsUpdate() );
resize( settings->value( "size", QSize( 300, 80 ) ).toSize() );
updateGeometry();
settings->endGroup();
}
......@@ -301,6 +302,7 @@ MainInterface::~MainInterface()
settings->setValue( "adv-controls",
getControlsVisibilityStatus() & CONTROLS_ADVANCED );
settings->setValue( "pos", pos() );
settings->setValue( "size", size() );
settings->endGroup();
delete settings;
......
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