1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Windows/Linux optionsdialog polishing

This commit is contained in:
Martin Tůma 2021-08-31 22:55:32 +02:00
parent 22b691252f
commit 133aac3bd4

View File

@ -571,9 +571,11 @@ QWidget *OptionsDialog::createDEMPage()
QWidget *sourceTab = new QWidget(); QWidget *sourceTab = new QWidget();
sourceTab->setLayout(sourceLayout); sourceTab->setLayout(sourceLayout);
#else // Q_OS_MAC #else // Q_OS_MAC
QVBoxLayout *urlValueLayout = new QVBoxLayout();
urlValueLayout->addWidget(_demURL);
urlValueLayout->addWidget(info);
QFormLayout *urlLayout = new QFormLayout(); QFormLayout *urlLayout = new QFormLayout();
urlLayout->addRow(tr("URL:"), _demURL); urlLayout->addRow(tr("URL:"), urlValueLayout);
urlLayout->addRow(info);
QVBoxLayout *sourceLayout = new QVBoxLayout(); QVBoxLayout *sourceLayout = new QVBoxLayout();
sourceLayout->addLayout(urlLayout); sourceLayout->addLayout(urlLayout);
sourceLayout->addSpacing(10); sourceLayout->addSpacing(10);