From 434acf21a40fa2e4bb26564913cd66d3169499d0 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 12 Oct 2011 10:56:35 -0400 Subject: [PATCH] osx tweaks --- src/LoadXSPFDialog.cpp | 7 +++++++ src/LoadXSPFDialog.ui | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/LoadXSPFDialog.cpp b/src/LoadXSPFDialog.cpp index cb1fd917e..e401e839c 100644 --- a/src/LoadXSPFDialog.cpp +++ b/src/LoadXSPFDialog.cpp @@ -27,6 +27,13 @@ LoadXSPFDialog::LoadXSPFDialog( QWidget* parent, Qt::WindowFlags f ) { m_ui->setupUi( this ); +#ifdef Q_WS_MAC + m_ui->horizontalLayout->setContentsMargins( 0, 0, 0, 0 ); + m_ui->horizontalLayout->setSpacing( 5 ); + m_ui->verticalLayout->setContentsMargins( 0, 10, 0, 0 ); + m_ui->verticalLayout->setSpacing( 0 ); +#endif + connect( m_ui->buttonBox, SIGNAL( accepted() ), SLOT( accept() ) ); connect( m_ui->buttonBox, SIGNAL( rejected() ), SLOT( reject() ) ); diff --git a/src/LoadXSPFDialog.ui b/src/LoadXSPFDialog.ui index 5eb30260a..90350a425 100644 --- a/src/LoadXSPFDialog.ui +++ b/src/LoadXSPFDialog.ui @@ -6,8 +6,8 @@ 0 0 - 332 - 86 + 444 + 121