From 6a22a7698c5a3d067963b3322e96a3deffde2135 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 12 Apr 2022 16:50:27 +0200 Subject: [PATCH] various UI --- electrum/gui/qml/components/controls/InfoTextArea.qml | 1 + electrum/gui/qml/components/main.qml | 1 + electrum/gui/qml/qefx.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/controls/InfoTextArea.qml b/electrum/gui/qml/components/controls/InfoTextArea.qml index ec55c9527..ba2848aac 100644 --- a/electrum/gui/qml/components/controls/InfoTextArea.qml +++ b/electrum/gui/qml/components/controls/InfoTextArea.qml @@ -27,6 +27,7 @@ GridLayout { TextArea { id: infotext Layout.fillWidth: true + Layout.minimumHeight: constants.iconSizeLarge + 2*constants.paddingLarge readOnly: true rightPadding: constants.paddingLarge leftPadding: 2*constants.iconSizeLarge diff --git a/electrum/gui/qml/components/main.qml b/electrum/gui/qml/components/main.qml index 576c5c48d..40f73b3b7 100644 --- a/electrum/gui/qml/components/main.qml +++ b/electrum/gui/qml/components/main.qml @@ -20,6 +20,7 @@ ApplicationWindow Material.theme: Material.Dark Material.primary: Material.Indigo Material.accent: Material.LightBlue + font.pixelSize: constants.fontSizeMedium property Item constants: appconstants Constants { id: appconstants } diff --git a/electrum/gui/qml/qefx.py b/electrum/gui/qml/qefx.py index fd4cd6dd0..abe2f87f6 100644 --- a/electrum/gui/qml/qefx.py +++ b/electrum/gui/qml/qefx.py @@ -112,7 +112,7 @@ class QEFX(QObject): return '' except: return '' - dt = datetime.fromtimestamp(td) + dt = datetime.fromtimestamp(int(td)) if plain: return self.fx.ccy_amount_str(self.fx.historical_value(satoshis, dt), False) else: