layouts: Improve the size of the Thai (th) layout

and adjust the views which were arranged differently,
so that those are more similar to other layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/684>
This commit is contained in:
MoonlightWave-12
2024-09-29 17:39:27 +02:00
parent 0552b9cd3b
commit 97495b73c2
2 changed files with 111 additions and 57 deletions

View File

@ -1,44 +1,45 @@
# Language: Thai
---
outlines:
default: { width: 34, height: 52 }
large: { width: 44, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 86.67, height: 52 }
change-view: { width: 52.67, height: 52 }
change-view-2: { width: 86.67, height: 52 }
spaceline: { width: 184, height: 52 }
special: { width: 44, height: 52 }
placeholder: { width: 34, height: 52 }
default: { width: 37.142, height: 52 }
special: { width: 37.142, height: 52 }
special-2: { width: 40.856, height: 52 }
special-3: { width: 74.284, height: 52 }
change-view: { width: 37.142, height: 52 }
change-view-2: { width: 74.284, height: 52 }
spaceline: { width: 215.424, height: 52 }
large: { width: 40.856, height: 52 }
placeholder: { width: 37.142, height: 52 }
fill: { width: 74.284, height: 52 }
views:
base:
- "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช"
- "ๆ ไ ำ พ ะ ั ี ร น ย บ ล"
- "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ"
- "Shift_L ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space .-large Return"
- "show_upper ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space .-large Return"
upper:
- "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙"
- " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ,"
- "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ"
- "Shift_L ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space .-large Return"
- "show_upper ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space .-large Return"
numbers:
- "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- , \" ' : ; ! ? -- -- --"
- "-- 1 2 3 4 5 6 7 8 9 0 --"
- "show_symbols @ # $ % & - _ + ( ) BackSpace"
- "show_letters preferences space .-large Return"
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' : ; ! ? BackSpace"
- "show_letters preferences space .-large Return"
symbols:
- "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- \\ / < > = [ ] -- -- --"
- "-- © ® £ € ¥ ^ ° * { } --"
- "show_numbers_from_symbols ~ ` | · √ π τ ÷ × BackSpace"
- "show_letters preferences space .-large Return"
- "© ® £ € ¥ ^ ° * { }"
- "~ ` | · √ π τ ÷ ×"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space .-large Return"
buttons:
Shift_L:
show_upper:
action:
locking:
lock_view: "upper"
@ -46,12 +47,12 @@ buttons:
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
outline: "special"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
outline: "special-2"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
@ -61,7 +62,7 @@ buttons:
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "change-view"
outline: "change-view-2"
label: "123"
show_letters:
action:
@ -71,18 +72,42 @@ buttons:
show_symbols:
action:
set_view: "symbols"
outline: "change-view"
outline: "change-view-2"
label: "*/="
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
outline: "special-3"
icon: "key-enter"
keysym: "Return"
.-large:
outline: "large"
text: "."
--:
outline: "placeholder"
text: ""
.-large:
outline: "large"
text: "."
5:
outline: "fill"
6:
outline: "fill"
"&":
outline: "fill"
-:
outline: "fill"
"'":
outline: "fill"
::
outline: "fill"
¥:
outline: "fill"
^:
outline: "fill"
:
outline: "fill"
π:
outline: "fill"
<:
outline: "fill"
">":
outline: "fill"

View File

@ -1,43 +1,45 @@
# Language: Thai
---
outlines:
default: { width: 75, height: 56 }
altline: { width: 75, height: 56 }
wide: { width: 135, height: 56 }
change-view: { width: 75, height: 56 }
change-view-2: { width: 135, height: 56 }
spaceline: { width: 480, height: 56 }
special: { width: 75, height: 56 }
placeholder: { width: 75, height: 56 }
default: { width: 56, height: 42 }
special: { width: 56, height: 42 }
special-2: { width: 61.6, height: 42 }
special-3: { width: 112, height: 42 }
change-view: { width: 56, height: 42 }
change-view-2: { width: 112, height: 42 }
spaceline: { width: 324.8, height: 42 }
large: { width: 61.6, height: 42 }
placeholder: { width: 56, height: 42 }
fill: { width: 112, height: 42 }
views:
base:
- "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช"
- "ๆ ไ ำ พ ะ ั ี ร น ย บ ล"
- "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ"
- "Shift_L ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space . Return"
- "show_upper ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space .-large Return"
upper:
- "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙"
- " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ,"
- "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ"
- "Shift_L ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space . Return"
- "show_upper ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space .-large Return"
numbers:
- "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- , \" ' : ; ! ? -- -- --"
- "-- 1 2 3 4 5 6 7 8 9 0 --"
- "show_symbols @ # $ % & - _ + ( ) BackSpace"
- "show_letters preferences space . Return"
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' : ; ! ? BackSpace"
- "show_letters preferences space .-large Return"
symbols:
- "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- \\ / < > = [ ] -- -- --"
- "-- © ® £ € ¥ ^ ° * { } --"
- "show_numbers_from_symbols ~ ` | · √ π τ ÷ × BackSpace"
- "show_letters preferences space . Return"
- "© ® £ € ¥ ^ ° * { }"
- "~ ` | · √ π τ ÷ ×"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space .-large Return"
buttons:
Shift_L:
show_upper:
action:
locking:
lock_view: "upper"
@ -45,12 +47,12 @@ buttons:
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
outline: "special"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
outline: "special-2"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
@ -60,7 +62,7 @@ buttons:
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "change-view"
outline: "change-view-2"
label: "123"
show_letters:
action:
@ -70,15 +72,42 @@ buttons:
show_symbols:
action:
set_view: "symbols"
outline: "change-view"
outline: "change-view-2"
label: "*/="
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
outline: "special-3"
icon: "key-enter"
keysym: "Return"
--:
outline: "placeholder"
text: ""
.-large:
outline: "large"
text: "."
5:
outline: "fill"
6:
outline: "fill"
"&":
outline: "fill"
-:
outline: "fill"
"'":
outline: "fill"
::
outline: "fill"
¥:
outline: "fill"
^:
outline: "fill"
:
outline: "fill"
π:
outline: "fill"
<:
outline: "fill"
">":
outline: "fill"