Mercurial > hg > svgui
changeset 981:50940a7425ae osx-retina
Merge
author | Chris Cannam |
---|---|
date | Tue, 30 Jun 2015 14:16:22 +0100 |
parents | 66da6f009edd (diff) bc23c2cfff65 (current diff) |
children | 5d4730da0276 |
files | |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Wed Jun 10 14:27:55 2015 +0100 +++ b/widgets/PropertyBox.cpp Tue Jun 30 14:16:22 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());