Browse Source

qml: increase width of elevator in History

master
Sander van Grieken 3 years ago
parent
commit
1fd9d9d5bd
  1. 2
      electrum/gui/qml/components/Constants.qml
  2. 2
      electrum/gui/qml/components/History.qml

2
electrum/gui/qml/components/Constants.qml

@ -25,6 +25,8 @@ Item {
readonly property int iconSizeXLarge: 48 readonly property int iconSizeXLarge: 48
readonly property int iconSizeXXLarge: 64 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 colorCredit: "#ff80ff80"
property color colorDebit: "#ffff8080" property color colorDebit: "#ffff8080"
property color mutedForeground: 'gray' //Qt.lighter(Material.background, 2) property color mutedForeground: 'gray' //Qt.lighter(Material.background, 2)

2
electrum/gui/qml/components/History.qml

@ -101,7 +101,7 @@ Pane {
right: listview.right right: listview.right
bottom: listview.bottom bottom: listview.bottom
} }
width: constants.paddingXXLarge width: constants.fingerWidth
drag.target: dragb drag.target: dragb
onPressedChanged: if (pressed) { onPressedChanged: if (pressed) {
dragb.y = mouseY + listview.y - dragb.height/2 dragb.y = mouseY + listview.y - dragb.height/2

Loading…
Cancel
Save