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