diff --git a/src/blackgui/components/configurationwizard.cpp b/src/blackgui/components/configurationwizard.cpp
index 38630fe58..5d9275ef1 100644
--- a/src/blackgui/components/configurationwizard.cpp
+++ b/src/blackgui/components/configurationwizard.cpp
@@ -28,7 +28,7 @@ namespace BlackGui
ui->setupUi(this);
ui->wp_CopyModels->setConfigComponent(ui->comp_CopyModels);
ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
- ui->wp_SimulatorSpecific->setConfigComponent(ui->comp_XSwiftBus, ui->comp_FsxTerrainProbe);
+ ui->wp_SimulatorSpecific->setConfigComponent(ui->comp_InstallXSwiftBus, ui->comp_InstallFsxTerrainProbe);
ui->wp_DataLoad->setConfigComponent(ui->comp_DataLoad);
ui->wp_Hotkeys->setConfigComponent(ui->comp_Hotkeys);
ui->wp_Legal->setConfigComponent(ui->comp_LegalInformation);
diff --git a/src/blackgui/components/configurationwizard.ui b/src/blackgui/components/configurationwizard.ui
index 3cc5b70c8..c1efb839d 100644
--- a/src/blackgui/components/configurationwizard.ui
+++ b/src/blackgui/components/configurationwizard.ui
@@ -6,14 +6,14 @@
0
0
- 800
+ 700
600
- 500
- 500
+ 700
+ 600
@@ -198,37 +198,43 @@
Install XSwiftBus (X-Plane only) or swift terrain probe (FSX/P3D only)
-
-
- 4
-
-
- 4
-
-
- 4
-
-
- 4
-
- -
-
-
-
- 0
- 150
-
-
-
-
- -
-
-
-
- 0
- 75
-
-
+
+
-
+
+
+
+ Install FSX terrain probe
+
+
+
-
+
+
+
+ 0
+ 50
+
+
+
+
+
+
+
+
+ XPlane: Install XSwiftBus
+
+
+ -
+
+
+
+ 0
+ 50
+
+
+
+
+
+
@@ -373,7 +379,7 @@
BlackGui::Components::CInstallFsxTerrainProbeComponent
- QWidget
+ QFrame
blackgui/components/installfsxterrainprobecomponent.h
1
diff --git a/src/blackgui/components/dbloadoverviewcomponent.cpp b/src/blackgui/components/dbloadoverviewcomponent.cpp
index c6f112bc3..c2a901d0e 100644
--- a/src/blackgui/components/dbloadoverviewcomponent.cpp
+++ b/src/blackgui/components/dbloadoverviewcomponent.cpp
@@ -15,6 +15,7 @@
#include "blackcore/webdataservices.h"
#include "blackcore/db/infodatareader.h"
#include "blackmisc/network/networkutils.h"
+#include "blackmisc/htmlutils.h"
#include
#include
@@ -216,11 +217,10 @@ namespace BlackGui
// Shared URLs
const CUrlList sharedUrls(sGui->getGlobalSetup().getSwiftSharedUrls());
- const QString tableHtml("");
- const QString rowHtml(" | %2 |
");
+ const QString valueHtml("
%2");
const QString urlLinkHtml("%2");
- QString allRowsHtml;
+ QStringList values;
for (const CUrl &sharedUrl : sharedUrls)
{
if (!sGui || sGui->isShuttingDown())
@@ -230,9 +230,13 @@ namespace BlackGui
return;
}
canConnect = CNetworkUtils::canConnect(sharedUrl);
- allRowsHtml += rowHtml.arg(canConnect ? imgOk : imgFailed, urlLinkHtml.arg(sharedUrl.getFullUrl(), sharedUrl.getHost()));
+ values.push_back(
+ valueHtml.arg(canConnect ? imgOk : imgFailed, urlLinkHtml.arg(sharedUrl.getFullUrl(), sharedUrl.getHost()))
+ );
}
- ui->lbl_SharedUrls->setText(tableHtml.arg(allRowsHtml.trimmed()));
+
+ const QString sharedUrlTable = toHtmTable(values, 2);
+ ui->lbl_SharedUrls->setText(sharedUrlTable);
ui->lbl_SharedUrls->setMinimumHeight(10 + (18 * sharedUrls.size()));
const QString currentlyUsedSharedUrl = sGui->getWorkingSharedUrl().toQString();
ui->lbl_SharedUrls->setToolTip(
diff --git a/src/blackgui/components/dbloadoverviewcomponent.ui b/src/blackgui/components/dbloadoverviewcomponent.ui
index 6ebaa426a..d381b6f0c 100644
--- a/src/blackgui/components/dbloadoverviewcomponent.ui
+++ b/src/blackgui/components/dbloadoverviewcomponent.ui
@@ -7,7 +7,7 @@
0
0
644
- 367
+ 253
@@ -140,7 +140,7 @@
- -
+
-
DB URL:
@@ -258,16 +258,10 @@
- -
+
-
-
-
- 0
- 125
-
-
- Checking shared servers' URLs
+ Shared URL will go here
@@ -532,7 +526,7 @@
- -
+
-
Shared:
diff --git a/src/blackgui/components/installfsxterrainprobecomponent.ui b/src/blackgui/components/installfsxterrainprobecomponent.ui
index abab49d47..3a0345761 100644
--- a/src/blackgui/components/installfsxterrainprobecomponent.ui
+++ b/src/blackgui/components/installfsxterrainprobecomponent.ui
@@ -7,13 +7,16 @@
0
0
427
- 194
+ 189
Copy swift probe
-
+
+
+ 0
+
-
diff --git a/src/blackgui/components/installxswiftbuscomponent.ui b/src/blackgui/components/installxswiftbuscomponent.ui
index 597bfe57d..d796622e4 100644
--- a/src/blackgui/components/installxswiftbuscomponent.ui
+++ b/src/blackgui/components/installxswiftbuscomponent.ui
@@ -6,16 +6,10 @@
0
0
- 600
- 400
+ 396
+ 317
-
-
- 600
- 400
-
-
Install XSwiftBus
@@ -41,7 +35,7 @@
-
- <html><img src=":/simulators/icons/simulators/XPlane.png" width=200></html>
+ <html><img src=":/simulators/icons/simulators/XPlane.png" width=175></html>
@@ -68,16 +62,16 @@
- 4
+ 5
- 4
+ 5
- 4
+ 5
- 4
+ 5
-
@@ -185,16 +179,16 @@
- 4
+ 5
- 4
+ 5
- 4
+ 5
- 4
+ 5
-
@@ -209,19 +203,6 @@
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-