From 8819a7189cd817eb9d0582dd0758b9d54fa128c0 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 14 Jun 2022 11:54:32 +0200 Subject: [PATCH] try tabbar at bottom --- .../gui/qml/components/WalletMainView.qml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/electrum/gui/qml/components/WalletMainView.qml b/electrum/gui/qml/components/WalletMainView.qml index 110a49509..a7d339ae1 100644 --- a/electrum/gui/qml/components/WalletMainView.qml +++ b/electrum/gui/qml/components/WalletMainView.qml @@ -94,26 +94,6 @@ Item { anchors.fill: parent visible: Daemon.currentWallet != null - TabBar { - id: tabbar - Layout.fillWidth: true - currentIndex: swipeview.currentIndex - TabButton { - text: qsTr('Receive') - font.pixelSize: constants.fontSizeLarge - } - TabButton { - text: qsTr('History') - font.pixelSize: constants.fontSizeLarge - } - TabButton { - enabled: !Daemon.currentWallet.isWatchOnly - text: qsTr('Send') - font.pixelSize: constants.fontSizeLarge - } - Component.onCompleted: tabbar.setCurrentIndex(1) - } - SwipeView { id: swipeview @@ -154,6 +134,26 @@ Item { } + TabBar { + id: tabbar + Layout.fillWidth: true + currentIndex: swipeview.currentIndex + TabButton { + text: qsTr('Receive') + font.pixelSize: constants.fontSizeLarge + } + TabButton { + text: qsTr('History') + font.pixelSize: constants.fontSizeLarge + } + TabButton { + enabled: !Daemon.currentWallet.isWatchOnly + text: qsTr('Send') + font.pixelSize: constants.fontSizeLarge + } + Component.onCompleted: tabbar.setCurrentIndex(1) + } + } Connections {