osk-layouts: Fix proportions in malayalam OSK layout

Expand a bit some keys to make both normal and shift levels square
and consistent in sizes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
This commit is contained in:
Carlos Garnacho 2022-06-17 13:23:09 +02:00 committed by Florian Müllner
parent 90bd0c4a25
commit df9e0618e4

View File

@ -61,6 +61,7 @@
] ]
}, },
{ {
"label": "ZWJ",
"strings": [ "strings": [
"" ""
] ]
@ -130,7 +131,7 @@
{ {
"iconName": "keyboard-enter-symbolic", "iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d", "keyval": "0xff0d",
"width": 1.5 "width": 2.5
} }
], ],
[ [
@ -138,7 +139,7 @@
"action": "levelSwitch", "action": "levelSwitch",
"iconName": "keyboard-shift-symbolic", "iconName": "keyboard-shift-symbolic",
"level": 1, "level": 1,
"width": 1.5 "width": 1
}, },
{ {
"strings": [ "strings": [
@ -187,31 +188,11 @@
"യ" "യ"
] ]
}, },
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 1,
"width": 2
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{ {
"strings": [ "strings": [
"," ","
] ]
}, },
{
"strings": [
" "
],
"width": 6
},
{ {
"strings": [ "strings": [
".", ".",
@ -225,17 +206,40 @@
"@" "@"
] ]
}, },
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 1,
"width": 1.5
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{ {
"action": "emoji", "action": "emoji",
"iconName": "face-smile-symbolic" "iconName": "face-smile-symbolic",
"width": 1.5
},
{
"strings": [
" "
],
"width": 7
}, },
{ {
"action": "languageMenu", "action": "languageMenu",
"iconName": "keyboard-layout-symbolic" "iconName": "keyboard-layout-symbolic",
"width": 1.5
}, },
{ {
"action": "hide", "action": "hide",
"iconName": "keyboard-hide-symbolic" "iconName": "keyboard-hide-symbolic",
"width": 2
} }
] ]
] ]
@ -303,7 +307,7 @@
{ {
"action": "delete", "action": "delete",
"iconName": "edit-clear-symbolic", "iconName": "edit-clear-symbolic",
"width": 1.5 "width": 2.5
} }
], ],
[ [
@ -365,15 +369,14 @@
{ {
"iconName": "keyboard-enter-symbolic", "iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d", "keyval": "0xff0d",
"width": 1.5 "width": 2.5
} }
], ],
[ [
{ {
"action": "levelSwitch", "action": "levelSwitch",
"iconName": "keyboard-shift-symbolic", "iconName": "keyboard-shift-symbolic",
"level": 0, "level": 0
"width": 1.5
}, },
{ {
"strings": [ "strings": [
@ -381,6 +384,7 @@
] ]
}, },
{ {
"label": "ZWJ",
"strings": [ "strings": [
"" ""
] ]
@ -420,31 +424,11 @@
"യ" "യ"
] ]
}, },
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 0,
"width": 2
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{ {
"strings": [ "strings": [
"," ","
] ]
}, },
{
"strings": [
" "
],
"width": 6
},
{ {
"strings": [ "strings": [
".", ".",
@ -458,17 +442,40 @@
"@" "@"
] ]
}, },
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 0,
"width": 1.5
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{ {
"action": "emoji", "action": "emoji",
"iconName": "face-smile-symbolic" "iconName": "face-smile-symbolic",
"width": 1.5
},
{
"strings": [
" "
],
"width": 7
}, },
{ {
"action": "languageMenu", "action": "languageMenu",
"iconName": "keyboard-layout-symbolic" "iconName": "keyboard-layout-symbolic",
"width": 1.5
}, },
{ {
"action": "hide", "action": "hide",
"iconName": "keyboard-hide-symbolic" "iconName": "keyboard-hide-symbolic",
"width": 2
} }
] ]
] ]