1
0

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.
This commit is contained in:
SomberNight
2023-04-20 22:26:45 +00:00
parent 1aa14e749a
commit 75e65c5cc7

View File

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