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:
committed by
Marge Bot
parent
41ed436dc8
commit
e610866129
@ -1,34 +1,35 @@
|
||||
---
|
||||
outlines:
|
||||
default: { width: 35.33, height: 52 }
|
||||
change-view: { width: 52.67, height: 52 }
|
||||
change-view-2: { width: 62, height: 52 }
|
||||
large: { width: 44, height: 52 }
|
||||
spaceline: { width: 106.67, height: 52 }
|
||||
special: { width: 44, height: 52 }
|
||||
special-2: { width: 62, height: 52 }
|
||||
default: { width: 35.657, height: 52 }
|
||||
change-view: { width: 53.485, height: 52 }
|
||||
change-view-2: { width: 62.399, height: 52 }
|
||||
large: { width: 39.222, height: 52 }
|
||||
spaceline: { width: 108.757, height: 52 }
|
||||
special: { width: 44.571, height: 52 }
|
||||
special-2: { width: 53.485, height: 52 }
|
||||
special-3: { width: 62.399, height: 52 }
|
||||
|
||||
views:
|
||||
base:
|
||||
- "q w e r t y u i o p"
|
||||
- "a s d f g h j k l"
|
||||
- "show_upper z x c v b n m BackSpace"
|
||||
- "show_numbers preferences space @ . Return"
|
||||
- "show_numbers preferences space @-large . Return"
|
||||
upper:
|
||||
- "Q W E R T Y U I O P"
|
||||
- "A S D F G H J K L"
|
||||
- "show_upper Z X C V B N M BackSpace"
|
||||
- "show_numbers preferences space @ . Return"
|
||||
- "show_numbers preferences space @-large . Return"
|
||||
numbers:
|
||||
- "1 2 3 4 5 6 7 8 9 0"
|
||||
- "@ # $ % & - _ + ( )"
|
||||
- "show_symbols , \" ' : ; ! ? BackSpace"
|
||||
- "show_letters preferences space @ . Return"
|
||||
- "show_letters preferences space @-large . Return"
|
||||
symbols:
|
||||
- "~ ` | · √ π τ ÷ × ¶"
|
||||
- "© ® £ € ¥ ^ ° * { }"
|
||||
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||
- "show_letters preferences space @ . Return"
|
||||
- "show_letters preferences space @-large . Return"
|
||||
|
||||
buttons:
|
||||
show_upper:
|
||||
@ -42,8 +43,6 @@ buttons:
|
||||
outline: "special-2"
|
||||
icon: "edit-clear-symbolic"
|
||||
action: "erase"
|
||||
"@":
|
||||
outline: "large"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "special"
|
||||
@ -68,12 +67,15 @@ buttons:
|
||||
set_view: "symbols"
|
||||
outline: "change-view"
|
||||
label: "*/="
|
||||
.:
|
||||
outline: "large"
|
||||
space:
|
||||
outline: "spaceline"
|
||||
text: " "
|
||||
Return:
|
||||
outline: "special-2"
|
||||
outline: "special-3"
|
||||
icon: "key-enter"
|
||||
keysym: "Return"
|
||||
.:
|
||||
outline: "large"
|
||||
"@-large":
|
||||
outline: "large"
|
||||
text: "@"
|
||||
@ -1,12 +1,11 @@
|
||||
---
|
||||
outlines:
|
||||
default: { width: 52, height: 42 }
|
||||
change-view: { width: 77.52, height: 42 }
|
||||
change-view-2: { width: 91.25, height: 42 }
|
||||
large: { width: 54.76, height: 42 }
|
||||
spaceline: { width: 157, height: 42 }
|
||||
special: { width: 64.76, height: 42 }
|
||||
special-2: { width: 91.25, height: 42 }
|
||||
default: { width: 53.76, height: 42 }
|
||||
change-view: { width: 80.64, height: 42 }
|
||||
change-view-2: { width: 94.08, height: 42 }
|
||||
spaceline: { width: 188.16, height: 42 }
|
||||
special: { width: 53.76, height: 42 }
|
||||
special-2: { width: 94.08, height: 42 }
|
||||
|
||||
views:
|
||||
base:
|
||||
@ -42,8 +41,6 @@ buttons:
|
||||
outline: "special-2"
|
||||
icon: "edit-clear-symbolic"
|
||||
action: "erase"
|
||||
"@":
|
||||
outline: "large"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "special"
|
||||
@ -68,8 +65,6 @@ buttons:
|
||||
set_view: "symbols"
|
||||
outline: "change-view"
|
||||
label: "*/="
|
||||
.:
|
||||
outline: "large"
|
||||
space:
|
||||
outline: "spaceline"
|
||||
text: " "
|
||||
|
||||
Reference in New Issue
Block a user