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>
Currently this differs for the same view-change-keys in different layouts.
When the text is "abc", the size of the key's text changes
when toggling between "123" and "abc"; with the text "ABC",
the size remains about the same.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
This commit changes the layout of the `eschars` view, in an attempt at
making it more logical and optimized to reach more frequent symbols more
easily.
In order to stay consistent with other layouts, the bottom line has been
re-arranged and keys dimensions have been optimized (based on the
`terminal` layout, which has similar features).
Furthermore, the ç/Ç keys in the 'normal' views have been replaced with
./, so that all diacritics are on the same view.
This commit also fixes the Backspace key behavior.
Due to an excessive amount of keys in the `eschars` view, one of the
rows would overflow the screen. This commit removes the `Ç` key, which
is already present in the `upper` view.
A number of keys would not give the expected result, due to the lack of
a `text` of `action` property. Additionally, the layout wouldn't load
because of an old file format (it seems `bounds` are not supported
anymore).
This patch makes sure this layout can be loaded and used by squeekboard
v0.1.9.