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,44 +1,44 @@
# Language: English (Dvorak)
---
outlines:
default: { width: 35.33, height: 45.5 }
action: { width: 59, height: 45.5 }
change-view: { width: 52.67, height: 45.5 }
change-view-2: { width: 59, height: 45.5 }
large: { width: 52.67, height: 45.5 }
small: { width: 50.471, height: 24 }
spaceline: { width: 144.96, height: 45.5 }
special: { width: 44, height: 45.5 }
special-2: { width: 52.67, height: 45.5 }
special-3: { width: 59, height: 45.5 }
default: { width: 40.41, height: 52 }
action: { width: 67.35, height: 52 }
change-view: { width: 60.615, height: 52 }
change-view-2: { width: 67.35, height: 52 }
large: { width: 60.615, height: 52 }
small: { width: 57.728, height: 27.725 }
spaceline: { width: 148.17, height: 52 }
special: { width: 60.615, height: 52 }
special-2: { width: 60.615, height: 52 }
special-3: { width: 67.35, height: 52 }
views:
base:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "Tab-small Ctrl Alt ↑ ↓ ← →"
- "show_upper p y f g c r l BackSpace"
- "a o e u i d h t n s"
- ", q j k x b m w v z"
- "show_numbers preferences space show_actions Return"
upper:
- "TabSmall Ctrl Alt PageUp PageDown Home End"
- "Tab-small Ctrl Alt PageUp PageDown Home End"
- "show_upper P Y F G C R L BackSpace"
- "A O E U I D H T N S"
- ", Q J K X B M W V Z"
- "show_numbers preferences space show_actions Return"
numbers:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "Tab-small Ctrl Alt ↑ ↓ ← →"
- "show_symbols , \" ' : ; ! ? BackSpace"
- "* # $ / & - _ + ( )"
- "1 2 3 4 5 6 7 8 9 0"
- "show_letters preferences space . Return"
symbols:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "show_numbers \\ % < > = [ ] BackSpace"
- "Tab-small Ctrl Alt ↑ ↓ ← →"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "© ® £ € ¥ ^ ° @ { }"
- "~ ` | · √ π τ ÷ × ¶"
- "show_letters preferences space . Return"
actions:
- "TabSmall Ctrl Alt PageUp PageDown Home End"
- "Tab-small Ctrl Alt PageUp PageDown Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
@ -61,6 +61,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"
@ -68,7 +73,7 @@ buttons:
show_letters:
action:
set_view: "base"
outline: "change-view"
outline: "change-view-2"
label: "ABC"
show_letters_actions:
action:
@ -136,7 +141,7 @@ buttons:
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
Tab-small:
outline: "small"
keysym: "Tab"
label: "Tab"