# HG changeset patch # User Chris Cannam # Date 1435670074 -3600 # Node ID 66da6f009edd658211ef7fa5ceedf028a6d97f68 # Parent 1011ffb1b6d5f67588f997d7a68fefed002886ae Tighten spacing around sides of property box on OS/X diff -r 1011ffb1b6d5 -r 66da6f009edd widgets/PropertyBox.cpp --- a/widgets/PropertyBox.cpp Wed Jun 10 13:38:02 2015 +0100 +++ b/widgets/PropertyBox.cpp Tue Jun 30 14:14:34 2015 +0100 @@ -63,6 +63,12 @@ m_mainBox = new QVBoxLayout; setLayout(m_mainBox); +#ifdef Q_OS_MAC + QMargins mm = m_mainBox->contentsMargins(); + QMargins mmhalf(mm.left()/2, mm.top()/3, mm.right()/2, mm.bottom()/3); + m_mainBox->setContentsMargins(mmhalf); +#endif + // m_nameWidget = new QLabel; // m_mainBox->addWidget(m_nameWidget); // m_nameWidget->setText(container->objectName()); diff -r 1011ffb1b6d5 -r 66da6f009edd widgets/PropertyStack.cpp --- a/widgets/PropertyStack.cpp Wed Jun 10 13:38:02 2015 +0100 +++ b/widgets/PropertyStack.cpp Tue Jun 30 14:14:34 2015 +0100 @@ -50,7 +50,7 @@ tabBar()->setUsesScrollButtons(true); tabBar()->setIconSize(QSize(16, 16)); #endif - + repopulate(); connect(this, SIGNAL(currentChanged(int)),