mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +02:00
Try to make SocialWidget nice on Mac, take 3.
This commit is contained in:
@@ -45,7 +45,11 @@ SocialWidget::SocialWidget( QWidget* parent )
|
|||||||
setWindowFlags( Qt::FramelessWindowHint );
|
setWindowFlags( Qt::FramelessWindowHint );
|
||||||
setWindowFlags( Qt::Popup );
|
setWindowFlags( Qt::Popup );
|
||||||
TomahawkUtils::unmarginLayout( layout() );
|
TomahawkUtils::unmarginLayout( layout() );
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
ui->verticalLayout->setContentsMargins( 12, 4, 12, 12 );
|
ui->verticalLayout->setContentsMargins( 12, 4, 12, 12 );
|
||||||
|
#else
|
||||||
|
ui->verticalLayout->setContentsMargins( 8, 0, 8, 12 );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
setAttribute( Qt::WA_TranslucentBackground, true );
|
setAttribute( Qt::WA_TranslucentBackground, true );
|
||||||
|
Reference in New Issue
Block a user