[gnome-shell/wip/carlosg/osk-updates: 16/21] osk-layouts: Fix proportions in malayalam OSK layout




commit 6bcbdf0fc72fd222b3ce8c77e66fb01cd8634bad
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jun 17 13:23:09 2022 +0200

    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.

 data/osk-layouts/in+mal.json | 113 +++++++++++++++++++++++--------------------
 1 file changed, 60 insertions(+), 53 deletions(-)
---
diff --git a/data/osk-layouts/in+mal.json b/data/osk-layouts/in+mal.json
index 9c50c03718..49dcd6b964 100644
--- a/data/osk-layouts/in+mal.json
+++ b/data/osk-layouts/in+mal.json
@@ -61,6 +61,7 @@
             ]
           },
           {
+            "label": "ZWJ",
             "strings": [
               "‍"
             ]
@@ -130,7 +131,7 @@
           {
             "iconName": "keyboard-enter-symbolic",
             "keyval": "0xff0d",
-            "width": 1.5
+            "width": 2.5
           }
         ],
         [
@@ -138,7 +139,7 @@
             "action": "levelSwitch",
             "iconName": "keyboard-shift-symbolic",
             "level": 1,
-            "width": 1.5
+            "width": 1
           },
           {
             "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": [
-              " "
-            ],
-            "width": 6
-          },
           {
             "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",
-            "iconName": "face-smile-symbolic"
+            "iconName": "face-smile-symbolic",
+            "width": 1.5
+          },
+          {
+            "strings": [
+              " "
+            ],
+            "width": 7
           },
           {
             "action": "languageMenu",
-            "iconName": "keyboard-layout-symbolic"
+            "iconName": "keyboard-layout-symbolic",
+            "width": 1.5
           },
           {
             "action": "hide",
-            "iconName": "keyboard-hide-symbolic"
+            "iconName": "keyboard-hide-symbolic",
+            "width": 2
           }
         ]
       ]
@@ -303,7 +307,7 @@
           {
             "action": "delete",
             "iconName": "edit-clear-symbolic",
-            "width": 1.5
+            "width": 2.5
           }
         ],
         [
@@ -365,15 +369,14 @@
           {
             "iconName": "keyboard-enter-symbolic",
             "keyval": "0xff0d",
-            "width": 1.5
+            "width": 2.5
           }
         ],
         [
           {
             "action": "levelSwitch",
             "iconName": "keyboard-shift-symbolic",
-            "level": 0,
-            "width": 1.5
+            "level": 0
           },
           {
             "strings": [
@@ -381,6 +384,7 @@
             ]
           },
           {
+            "label": "ZWJ",
             "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": [
-              " "
-            ],
-            "width": 6
-          },
           {
             "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",
-            "iconName": "face-smile-symbolic"
+            "iconName": "face-smile-symbolic",
+            "width": 1.5
+          },
+          {
+            "strings": [
+              " "
+            ],
+            "width": 7
           },
           {
             "action": "languageMenu",
-            "iconName": "keyboard-layout-symbolic"
+            "iconName": "keyboard-layout-symbolic",
+            "width": 1.5
           },
           {
             "action": "hide",
-            "iconName": "keyboard-hide-symbolic"
+            "iconName": "keyboard-hide-symbolic",
+            "width": 2
           }
         ]
       ]
@@ -976,4 +983,4 @@
   ],
   "locale": "ml",
   "name": "Malayalam"
-}
\ No newline at end of file
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]