diff --git a/electrum/gui/qml/components/controls/SeedKeyboard.qml b/electrum/gui/qml/components/controls/SeedKeyboard.qml index 750e9ceb8..7f444dcc6 100644 --- a/electrum/gui/qml/components/controls/SeedKeyboard.qml +++ b/electrum/gui/qml/components/controls/SeedKeyboard.qml @@ -13,7 +13,7 @@ Item { property int keywidth: (root.width - 2 * hpadding) / 10 - keyhspacing property int keyheight: (root.height - 2 * vpadding) / 4 - keyvspacing - property int keyhspacing: 4 + property int keyhspacing: 2 property int keyvspacing: 5 function emitKeyEvent(key, keycode) { diff --git a/electrum/gui/qml/components/controls/SeedKeyboardKey.qml b/electrum/gui/qml/components/controls/SeedKeyboardKey.qml index 16c39b8e2..748e1dce8 100644 --- a/electrum/gui/qml/components/controls/SeedKeyboardKey.qml +++ b/electrum/gui/qml/components/controls/SeedKeyboardKey.qml @@ -26,10 +26,7 @@ Pane { autoRepeat: true autoRepeatDelay: 750 - text: key - padding: 0 - font.pixelSize: Math.max(root.height * 1/3, constants.fontSizeSmall) onClicked: { emitKeyEvent() @@ -39,5 +36,12 @@ Pane { onDoubleClicked: { emitKeyEvent() } + + Label { + anchors.centerIn: parent + text: key + font.pixelSize: Math.max(root.height * 0.67, constants.fontSizeSmall) + verticalAlignment: Text.AlignVCenter + } } } diff --git a/electrum/gui/qml/components/controls/SeedTextArea.qml b/electrum/gui/qml/components/controls/SeedTextArea.qml index 4115096bd..a0f866ed9 100644 --- a/electrum/gui/qml/components/controls/SeedTextArea.qml +++ b/electrum/gui/qml/components/controls/SeedTextArea.qml @@ -125,7 +125,7 @@ Pane { SeedKeyboard { id: kbd Layout.fillWidth: true - Layout.preferredHeight: kbd.width / 2 + Layout.preferredHeight: kbd.width / 1.75 visible: !root.readOnly onKeyEvent: { if (keycode == Qt.Key_Backspace) {