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,14 +1,15 @@
# Language: Norwegian
---
outlines:
default: { width: 48.87, height: 42 }
change-view: { width: 73.5, height: 42 }
fill: { width: 97.74, height: 42 }
placeholder: { width: 48.87, height: 42 }
spaceline: { width: 273.5, height: 42 }
special: { width: 48.87, height: 42 }
special-2: { width: 73.5, height: 42 }
special-3: { width: 92.99, height: 42 }
default: { width: 48.872, height: 42 }
change-view: { width: 73.308, height: 42 }
change-view-2: { width: 85.526, height: 42 }
fill: { width: 97.744, height: 42 }
placeholder: { width: 48.872, height: 42 }
spaceline: { width: 268.796, height: 42 }
special: { width: 48.872, height: 42 }
special-2: { width: 73.308, height: 42 }
special-3: { width: 85.526, height: 42 }
views:
base:
@ -24,12 +25,12 @@ views:
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols -- , \" ' : ; ! ? BackSpace"
- "show_symbols , \" ' : ; ! ? -- BackSpace"
- "show_letters preferences space . Return"
symbols:
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers -- \\ / < > = [ ] BackSpace"
- "show_numbers_from_symbols \\ / < > = [ ] -- BackSpace"
- "show_letters preferences space . Return"
buttons:
@ -49,6 +50,11 @@ buttons:
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "change-view-2"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "change-view"
@ -56,7 +62,7 @@ buttons:
show_letters:
action:
set_view: "base"
outline: "change-view"
outline: "change-view-2"
label: "ABC"
show_symbols:
action: