mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 02:24:50 +02:00
Unmargin the settings dialog a bit.
This commit is contained in:
@@ -73,6 +73,7 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
TomahawkSettings* s = TomahawkSettings::instance();
|
TomahawkSettings* s = TomahawkSettings::instance();
|
||||||
|
|
||||||
TomahawkUtils::unmarginLayout( layout() );
|
TomahawkUtils::unmarginLayout( layout() );
|
||||||
|
TomahawkUtils::unmarginLayout( ui->horizontalLayout );
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
ui->stackedWidget->setContentsMargins( 4, 4, 4, 4 );
|
ui->stackedWidget->setContentsMargins( 4, 4, 4, 4 );
|
||||||
@@ -116,6 +117,8 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
createIcons();
|
createIcons();
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
setContentsMargins( 4, 4, 4, 4 );
|
setContentsMargins( 4, 4, 4, 4 );
|
||||||
|
#elif defined( Q_OS_MAC )
|
||||||
|
setContentsMargins( 0, 0, 0, 4 );
|
||||||
#else
|
#else
|
||||||
setContentsMargins( 0, 4, 4, 4 );
|
setContentsMargins( 0, 4, 4, 4 );
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user