mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
Fix margins on Mac, take 3.
This commit is contained in:
@@ -53,7 +53,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
|
|
||||||
w->setContentsMargins( 6, 6, 6, 6 );
|
w->setContentsMargins( 6, 6, 6, 6 );
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
wMainLayout->setMargin( 6 );
|
wMainLayout->setMargin( 12 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_popup->setWidget( w );
|
m_popup->setWidget( w );
|
||||||
@@ -88,6 +88,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
window(), SLOT( showSettingsDialog() ) );
|
window(), SLOT( showSettingsDialog() ) );
|
||||||
|
|
||||||
QHBoxLayout *bottomLayout = new QHBoxLayout( w );
|
QHBoxLayout *bottomLayout = new QHBoxLayout( w );
|
||||||
|
TomahawkUtils::unmarginLayout( bottomLayout );
|
||||||
bottomLayout->addStretch();
|
bottomLayout->addStretch();
|
||||||
bottomLayout->addWidget( settingsButton );
|
bottomLayout->addWidget( settingsButton );
|
||||||
wMainLayout->addLayout( bottomLayout );
|
wMainLayout->addLayout( bottomLayout );
|
||||||
|
Reference in New Issue
Block a user