Skip to content

Commit

Permalink
Adjust background widget layout for Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
dalboris committed Feb 11, 2016
1 parent cd01138 commit 85d499a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Gui/Background/BackgroundWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ BackgroundWidget::BackgroundWidget(QWidget * parent) :
imageRefreshButton_->setStatusTip(tr("Reload background image(s) to reflect changes on disk."));
imageRefreshButton_->setMaximumWidth(30);
QHBoxLayout * imagesLayout = new QHBoxLayout();
#ifdef Q_OS_MAC
imagesLayout->setSpacing(10);
#else
imagesLayout->setSpacing(0);
#endif
imagesLayout->addWidget(imageLineEdit_);
imagesLayout->addWidget(imageBrowseButton_);
imagesLayout->addWidget(imageRefreshButton_);
Expand Down

0 comments on commit 85d499a

Please sign in to comment.