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:
@@ -56,10 +56,10 @@ KeyboardStyle {
|
|||||||
|
|
||||||
keyboardDesignWidth: 2560
|
keyboardDesignWidth: 2560
|
||||||
keyboardDesignHeight: 1440
|
keyboardDesignHeight: 1440
|
||||||
keyboardRelativeLeftMargin: 114 / keyboardDesignWidth
|
keyboardRelativeLeftMargin: 32 / keyboardDesignWidth
|
||||||
keyboardRelativeRightMargin: 114 / keyboardDesignWidth
|
keyboardRelativeRightMargin: 32 / keyboardDesignWidth
|
||||||
keyboardRelativeTopMargin: 13 / keyboardDesignHeight
|
keyboardRelativeTopMargin: 10 / keyboardDesignHeight
|
||||||
keyboardRelativeBottomMargin: 86 / keyboardDesignHeight
|
keyboardRelativeBottomMargin: 28 / keyboardDesignHeight
|
||||||
|
|
||||||
keyboardBackground: Rectangle {
|
keyboardBackground: Rectangle {
|
||||||
color: constants.colorAlpha(Material.accentColor, 0.5) //mutedForeground //'red' //"black"
|
color: constants.colorAlpha(Material.accentColor, 0.5) //mutedForeground //'red' //"black"
|
||||||
|
|||||||
Reference in New Issue
Block a user