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,15 +1,15 @@
# Language: French (BEPO)
---
outlines:
default: { width: 35.33, height: 52 }
change-view: { width: 37.0, height: 52 }
change-view-2: { width: 50, height: 52 }
large: { width: 35.33, height: 52 }
placeholder: { width: 35.33, height: 52 }
spaceline: { width: 171, height: 52 }
special: { width: 35.33, height: 52 }
special-2: { width: 37.0, height: 52 }
special-3: { width: 50, height: 52 }
default: { width: 35.657, height: 52 }
change-view: { width: 35.657, height: 52 }
change-view-2: { width: 53.485, height: 52 }
change-view-3: { width: 62.399, height: 52 }
placeholder: { width: 35.657, height: 52 }
spaceline: { width: 124.802, height: 52 }
special: { width: 35.657, height: 52 }
special-2: { width: 53.485, height: 52 }
special-3: { width: 62.399, height: 52 }
views:
base:
@ -25,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 show_eschars Return"
symbols:
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ $ ¥ ^ ° * { }"
- "show_numbers_from_symbols -- \\ / < > = [ ] BackSpace"
- "show_numbers_from_symbols \\ / < > = [ ] -- BackSpace"
- "show_letters preferences space show_eschars Return"
eschars:
- "à â ç é è ê î ô ù û"
@ -47,17 +47,17 @@ buttons:
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "special-2"
outline: "special"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
outline: "special-2"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "change-view-2"
outline: "change-view-3"
label: "123"
show_numbers_from_symbols:
action:
@ -67,7 +67,7 @@ buttons:
show_letters:
action:
set_view: "base"
outline: "change-view-2"
outline: "change-view-3"
label: "ABC"
show_symbols:
action:
@ -88,8 +88,6 @@ buttons:
outline: "special-3"
icon: "key-enter"
keysym: "Return"
.:
outline: "large"
--:
outline: "placeholder"
text: ""