From 756cd9706f8f922a10c2afb08d71d54245ff4026 Mon Sep 17 00:00:00 2001 From: Sander van Grieken <sander@outrightsolutions.nl> Date: Tue, 29 Mar 2022 16:54:20 +0200 Subject: [PATCH] use fixed font on amount, address fields --- electrum/gui/qml/components/Receive.qml | 4 +++- electrum/gui/qml/components/Send.qml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/Receive.qml b/electrum/gui/qml/components/Receive.qml index eafec5ed3..dbb213db3 100644 --- a/electrum/gui/qml/components/Receive.qml +++ b/electrum/gui/qml/components/Receive.qml @@ -1,6 +1,6 @@ import QtQuick 2.6 import QtQuick.Layouts 1.0 -import QtQuick.Controls 2.0 +import QtQuick.Controls 2.14 import QtQuick.Controls.Material 2.0 import org.electrum 1.0 @@ -36,6 +36,7 @@ Pane { TextField { id: amount + font.family: FixedFont Layout.fillWidth: true } @@ -78,6 +79,7 @@ Pane { TextField { id: amountFiat + font.family: FixedFont Layout.fillWidth: true } diff --git a/electrum/gui/qml/components/Send.qml b/electrum/gui/qml/components/Send.qml index 534cf92f6..f866d21ed 100644 --- a/electrum/gui/qml/components/Send.qml +++ b/electrum/gui/qml/components/Send.qml @@ -23,6 +23,7 @@ Pane { id: address Layout.columnSpan: 2 Layout.fillWidth: true + font.family: FixedFont placeholderText: qsTr('Paste address or invoice') } @@ -39,6 +40,7 @@ Pane { TextField { id: amount + font.family: FixedFont placeholderText: qsTr('Amount') } @@ -56,6 +58,7 @@ Pane { TextField { id: fee + font.family: FixedFont placeholderText: qsTr('sat/vB') Layout.columnSpan: 3 }