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
@ -5,14 +5,14 @@
|
||||
# Edited by Sotiris Papadopoulos, sotirios.papadopoulos@inserm.fr
|
||||
---
|
||||
outlines:
|
||||
default: { width: 40, height: 60 }
|
||||
change-view: { width: 52.67, height: 60 }
|
||||
change-view-2: { width: 80, height: 60 }
|
||||
fill: { width: 52.67, height: 60 }
|
||||
spaceline: { width: 120, height: 60 }
|
||||
special: { width: 52.67, height: 60 }
|
||||
special-2: { width: 80, height: 60 }
|
||||
subtle-highlight: { width: 40, height: 60 }
|
||||
default: { width: 34.336, height: 52 }
|
||||
change-view: { width: 47.547, height: 52 }
|
||||
change-view-2: { width: 68.672, height: 52 }
|
||||
fill: { width: 47.547, height: 52 }
|
||||
spaceline: { width: 103.008, height: 52 }
|
||||
special-2: { width: 47.547, height: 52 }
|
||||
special-3: { width: 68.672, height: 52 }
|
||||
subtle-highlight: { width: 34.336, height: 52 }
|
||||
|
||||
views:
|
||||
base:
|
||||
@ -49,12 +49,12 @@ buttons:
|
||||
outline: "change-view-2"
|
||||
icon: "key-shift"
|
||||
BackSpace:
|
||||
outline: "special"
|
||||
outline: "special-2"
|
||||
icon: "edit-clear-symbolic"
|
||||
action: "erase"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "special"
|
||||
outline: "special-2"
|
||||
icon: "keyboard-mode-symbolic"
|
||||
show_numbers:
|
||||
action:
|
||||
@ -82,7 +82,7 @@ buttons:
|
||||
outline: "spaceline"
|
||||
text: " "
|
||||
Return:
|
||||
outline: "special-2"
|
||||
outline: "special-3"
|
||||
icon: "key-enter"
|
||||
keysym: "Return"
|
||||
.:
|
||||
@ -119,4 +119,4 @@ buttons:
|
||||
¶:
|
||||
outline: "fill"
|
||||
"}":
|
||||
outline: "fill"
|
||||
outline: "fill"
|
||||
|
||||
Reference in New Issue
Block a user