mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
* Tweak some more on OS X.
This commit is contained in:
@@ -72,6 +72,9 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
TomahawkSettings* s = TomahawkSettings::instance();
|
TomahawkSettings* s = TomahawkSettings::instance();
|
||||||
|
|
||||||
|
TomahawkUtils::unmarginLayout( layout() );
|
||||||
|
ui->stackedWidget->setContentsMargins( 4, 4, 4, 0 );
|
||||||
|
|
||||||
ui->addSipButton->setFixedWidth( 42 );
|
ui->addSipButton->setFixedWidth( 42 );
|
||||||
ui->removeSipButton->setFixedWidth( ui->addSipButton->width() );
|
ui->removeSipButton->setFixedWidth( ui->addSipButton->width() );
|
||||||
ui->addScript->setFixedWidth( 42 );
|
ui->addScript->setFixedWidth( 42 );
|
||||||
@@ -88,7 +91,8 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
ui->listWidget->setFrameShadow( QFrame::Sunken );
|
ui->listWidget->setFrameShadow( QFrame::Sunken );
|
||||||
setContentsMargins( 4, 4, 4, 4 );
|
setContentsMargins( 4, 4, 4, 4 );
|
||||||
#else
|
#else
|
||||||
ui->verticalLayout->removeItem( ui->verticalSpacer_3 );
|
ui->listWidget->setFixedWidth( 83 );
|
||||||
|
setContentsMargins( 0, 4, 4, 4 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
|
@@ -14,8 +14,8 @@
|
|||||||
<string>Tomahawk Settings</string>
|
<string>Tomahawk Settings</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_12">
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
||||||
<property name="bottomMargin">
|
<property name="margin">
|
||||||
<number>4</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
Reference in New Issue
Block a user