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,16 +1,16 @@
# Language: Belarusian
---
outlines:
default: { width: 32.45, height: 52 }
change-view: { width: 32, height: 52 }
change-view-2: { width: 64.55, height: 52 }
fill: { width: 156.86, height: 52 }
fill-2: { width: 64.9, height: 52 }
large: { width: 35.67, height: 52 }
spaceline: { width: 91.96, height: 52 }
special: { width: 35.67, height: 52 }
special-2: { width: 32, height: 52 }
special-3: { width: 64.55, height: 52 }
default: { width: 32.415, height: 52 }
change-view: { width: 32.415, height: 52 }
change-view-2: { width: 64.83, height: 52 }
fill: { width: 64.83, height: 52 }
large: { width: 35.656, height: 52 }
spaceline: { width: 90.763, height: 52 }
spaceline-fill: { width: 155.593, height: 52 }
special: { width: 32.415, height: 52 }
special-2: { width: 35.656, height: 52 }
special-3: { width: 64.83, height: 52 }
views:
base:
@ -43,7 +43,7 @@ buttons:
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "special-2"
outline: "special"
icon: "edit-clear-symbolic"
action: "erase"
BackSpace-wide:
@ -52,7 +52,7 @@ buttons:
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
outline: "special-2"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
@ -75,17 +75,17 @@ buttons:
outline: "spaceline"
text: " "
space-fill:
outline: "fill"
outline: "spaceline-fill"
text: " "
Return:
outline: "special-3"
icon: "key-enter"
keysym: "Return"
5:
outline: "fill-2"
outline: "fill"
"&":
outline: "fill-2"
outline: "fill"
:
outline: "fill-2"
outline: "fill"
¥:
outline: "fill-2"
outline: "fill"