From b37c3c9cf2286da1cfe633b0ab423214e388e436 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 13 May 2020 18:19:23 -0700 Subject: [PATCH] VIsual tweaks --- src/ui/toolbar/MainToolBar.qml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/ui/toolbar/MainToolBar.qml b/src/ui/toolbar/MainToolBar.qml index e349d2a16d..284de5986d 100644 --- a/src/ui/toolbar/MainToolBar.qml +++ b/src/ui/toolbar/MainToolBar.qml @@ -100,6 +100,13 @@ Item { onTriggered: viewButtonSelectRow.visible = false } + Rectangle { + Layout.margins: ScreenTools.defaultFontPixelHeight / 2 + Layout.fillHeight: true + width: 1 + color: qgcPal.text + } + QGCToolBarButton { id: settingsButton Layout.fillHeight: true @@ -196,7 +203,7 @@ Item { } Rectangle { - id: separator + id: separator1 anchors.margins: ScreenTools.defaultFontPixelHeight / 2 anchors.top: parent.top anchors.bottom: parent.bottom @@ -208,7 +215,7 @@ Item { QGCFlickable { id: toolsFlickable anchors.leftMargin: ScreenTools.defaultFontPixelHeight / 2 - anchors.left: separator.right + anchors.left: separator1.right anchors.bottomMargin: 1 anchors.top: parent.top anchors.bottom: parent.bottom @@ -231,9 +238,21 @@ Item { } } + Rectangle { + id: separator2 + anchors.margins: ScreenTools.defaultFontPixelHeight / 2 + anchors.bottomMargin: ScreenTools.defaultFontPixelHeight / 2 - 1 + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.left: valueArea.right + width: 1 + color: qgcPal.text + } + Loader { id: indicatorLoader - anchors.left: valueArea.right + anchors.leftMargin: ScreenTools.defaultFontPixelHeight / 2 + anchors.left: separator2.right anchors.top: parent.top anchors.bottom: parent.bottom source: "qrc:/toolbar/MainToolBarIndicators.qml" -- GitLab