From 1fd9d9d5bd53ae15dfbc9801640f0bb9125ae78f Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 17 Jan 2023 16:43:06 +0100 Subject: [PATCH] qml: increase width of elevator in History --- electrum/gui/qml/components/Constants.qml | 2 ++ electrum/gui/qml/components/History.qml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/Constants.qml b/electrum/gui/qml/components/Constants.qml index 8f0945510..812a71900 100644 --- a/electrum/gui/qml/components/Constants.qml +++ b/electrum/gui/qml/components/Constants.qml @@ -25,6 +25,8 @@ Item { readonly property int iconSizeXLarge: 48 readonly property int iconSizeXXLarge: 64 + readonly property int fingerWidth: 64 // TODO: determine finger width from screen dimensions and resolution + property color colorCredit: "#ff80ff80" property color colorDebit: "#ffff8080" property color mutedForeground: 'gray' //Qt.lighter(Material.background, 2) diff --git a/electrum/gui/qml/components/History.qml b/electrum/gui/qml/components/History.qml index 3c01a2563..17b7a2247 100644 --- a/electrum/gui/qml/components/History.qml +++ b/electrum/gui/qml/components/History.qml @@ -101,7 +101,7 @@ Pane { right: listview.right bottom: listview.bottom } - width: constants.paddingXXLarge + width: constants.fingerWidth drag.target: dragb onPressedChanged: if (pressed) { dragb.y = mouseY + listview.y - dragb.height/2