diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-30 23:37:32 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:11 +0100 |
commit | 79d25833bfd261c36d954cf57845e5a416aaf849 (patch) | |
tree | 6b24dddc7d396e6a0cc5da3ab098ba459e836a5d /gui/components/Footer.qml | |
parent | d7e65d5cd3ca87b7ebc11cc5f6e9bfd4e9cefbfd (diff) |
[ui] size tweaks and new assets
plus work on the systray menu
Diffstat (limited to 'gui/components/Footer.qml')
-rw-r--r-- | gui/components/Footer.qml | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/gui/components/Footer.qml b/gui/components/Footer.qml index 1b0d8fa..b806807 100644 --- a/gui/components/Footer.qml +++ b/gui/components/Footer.qml @@ -34,18 +34,22 @@ ToolBar { background.implicitHeight: 32 background.implicitWidth: 32 */ - icon.width: 20 - icon.height: 20 - icon.source: stackView.depth > 1 ? "" : "../resources/globe.svg" + icon { + width: 20 + height: 20 + source: stackView.depth > 1 ? "" : "../resources/globe.svg" + } onClicked: stackView.push("Locations.qml") } Label { id: locationLabel - anchors.left: gwButton.right - anchors.leftMargin: -7 - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: 7 + anchors { + left: gwButton.right + leftMargin: -7 + verticalCenter: parent.verticalCenter + verticalCenterOffset: 7 + } text: locationStr() color: getLocationColor() } @@ -57,14 +61,17 @@ ToolBar { Image { id: bridge + smooth: true visible: isBridgeSelected() - height: 24 - width: 24 - source: "../resources/bridge.png" - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: 5 - anchors.right: gwQuality.left - anchors.rightMargin: 10 + width: 40 + source: "../resources/bridge.svg" + fillMode: Image.PreserveAspectFit + anchors { + verticalCenter: parent.verticalCenter + verticalCenterOffset: 5 + right: gwQuality.left + rightMargin: 10 + } } Image { @@ -75,7 +82,7 @@ ToolBar { anchors.right: parent.right anchors.rightMargin: 20 anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: 5 + anchors.verticalCenterOffset: 0 // TODO refactor with SignalIcon ColorOverlay{ anchors.fill: gwQuality |