From 75e65c5cc70fb72af86b24a23e49bca88955cb9a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 20 Apr 2023 22:26:45 +0000 Subject: [PATCH] qml: virtual keyboard: make margins smaller, for larger buttons Looking at different system-wide keyboards on different phones, these new smaller margin sizes should still be sufficient; and this lets the buttons be larger. --- .../qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/gui/qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml b/electrum/gui/qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml index a016f25a4..506f0ff53 100644 --- a/electrum/gui/qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml +++ b/electrum/gui/qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml @@ -56,10 +56,10 @@ KeyboardStyle { keyboardDesignWidth: 2560 keyboardDesignHeight: 1440 - keyboardRelativeLeftMargin: 114 / keyboardDesignWidth - keyboardRelativeRightMargin: 114 / keyboardDesignWidth - keyboardRelativeTopMargin: 13 / keyboardDesignHeight - keyboardRelativeBottomMargin: 86 / keyboardDesignHeight + keyboardRelativeLeftMargin: 32 / keyboardDesignWidth + keyboardRelativeRightMargin: 32 / keyboardDesignWidth + keyboardRelativeTopMargin: 10 / keyboardDesignHeight + keyboardRelativeBottomMargin: 28 / keyboardDesignHeight keyboardBackground: Rectangle { color: constants.colorAlpha(Material.accentColor, 0.5) //mutedForeground //'red' //"black"