layouts: Adjust layout-sizes to the correct aspect-ratios

and fix some other issues, to make the layouts more consistent.

The aspect-ratios of the layouts,
should now match the intended aspect-ratios (12:7 and 16:5),
with 3 decimal-digits of precision; either exactly,
or rounded to be a little more square,
so that the entire height of the panel will be used.
Adding 0.001 to `width` in the `default`-outlines of the layouts,
would make the layouts a little wider than the intended aspect-ratio.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
This commit is contained in:
MoonlightWave-12
2024-10-07 19:18:16 +02:00
committed by Marge Bot
parent 41ed436dc8
commit e610866129
124 changed files with 1474 additions and 1541 deletions

View File

@ -1,28 +1,26 @@
# Language: Russian
---
outlines:
default: { width: 48.75, height: 42 }
change-view: { width: 48.75, height: 42 }
change-view-2: { width: 97.5, height: 42 }
fill: { width: 244, height: 42 }
fill-2: { width: 97.5, height: 42 }
placeholder: { width: 48.75, height: 42 }
spaceline: { width: 146.5, height: 42 }
special: { width: 48.75, height: 42 }
special-2: { width: 48.75, height: 42 }
special-3: { width: 97.5, height: 42 }
default: { width: 48.872, height: 42 }
change-view: { width: 48.872, height: 42 }
change-view-2: { width: 97.744, height: 42 }
fill: { width: 97.744, height: 42 }
spaceline: { width: 146.616, height: 42 }
spaceline-fill: { width: 244.36, height: 42 }
special: { width: 48.872, height: 42 }
special-2: { width: 97.744, height: 42 }
views:
base:
- "й ц у к е н г ш щ з х"
- "ф ы в а п р о л д ж э"
- "show_upper я ч с м и т ь б ю BackSpace"
- "show_numbers preferences ё space ъ . Return"
- "show_numbers preferences ё space ъ . Return"
upper:
- "Й Ц У К Е Н Г Ш Щ З Х"
- "Ф Ы В А П Р О Л Д Ж Э"
- "show_upper Я Ч С М И Т Ь Б Ю BackSpace"
- "show_numbers preferences Ё space Ъ , Return"
- "show_numbers preferences Ё space Ъ , Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
@ -43,11 +41,11 @@ buttons:
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "special-2"
outline: "special"
icon: "edit-clear-symbolic"
action: "erase"
BackSpace-wide:
outline: "special-3"
outline: "special-2"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
@ -73,20 +71,17 @@ buttons:
outline: "spaceline"
text: " "
space-fill:
outline: "fill"
outline: "spaceline-fill"
text: " "
Return:
outline: "special-3"
outline: "special-2"
icon: "key-enter"
keysym: "Return"
--:
outline: "placeholder"
text: ""
5:
outline: "fill-2"
outline: "fill"
"&":
outline: "fill-2"
outline: "fill"
:
outline: "fill-2"
outline: "fill"
¥:
outline: "fill-2"
outline: "fill"