Skip to content

Commit 85d499a

Browse files
committed
Adjust background widget layout for Mac OS X
1 parent cd01138 commit 85d499a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Gui/Background/BackgroundWidget.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ BackgroundWidget::BackgroundWidget(QWidget * parent) :
6666
imageRefreshButton_->setStatusTip(tr("Reload background image(s) to reflect changes on disk."));
6767
imageRefreshButton_->setMaximumWidth(30);
6868
QHBoxLayout * imagesLayout = new QHBoxLayout();
69+
#ifdef Q_OS_MAC
70+
imagesLayout->setSpacing(10);
71+
#else
6972
imagesLayout->setSpacing(0);
73+
#endif
7074
imagesLayout->addWidget(imageLineEdit_);
7175
imagesLayout->addWidget(imageBrowseButton_);
7276
imagesLayout->addWidget(imageRefreshButton_);

0 commit comments

Comments
 (0)