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