From 8dcd8143cbc8519aa290d6c6394883b37991f6c2 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sat, 20 Oct 2012 21:49:32 +0200 Subject: [PATCH] Try to make SocialWidget nice on Mac, take 3. --- src/SocialWidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SocialWidget.cpp b/src/SocialWidget.cpp index 0e9ec30bc..4b6167a48 100644 --- a/src/SocialWidget.cpp +++ b/src/SocialWidget.cpp @@ -45,7 +45,11 @@ SocialWidget::SocialWidget( QWidget* parent ) setWindowFlags( Qt::FramelessWindowHint ); setWindowFlags( Qt::Popup ); TomahawkUtils::unmarginLayout( layout() ); +#ifndef Q_OS_MAC ui->verticalLayout->setContentsMargins( 12, 4, 12, 12 ); +#else + ui->verticalLayout->setContentsMargins( 8, 0, 8, 12 ); +#endif setAttribute( Qt::WA_TranslucentBackground, true );