Browse Source

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.
master
SomberNight 3 years ago
parent
commit
75e65c5cc7
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 8
      electrum/gui/qml/QtQuick/VirtualKeyboard/Styles/Electrum/style.qml

8
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"

Loading…
Cancel
Save