11 Commits

Author SHA1 Message Date
e610866129 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>
2024-10-18 10:59:54 +00:00
80e7400a7f layouts: Sort outlines alphabetically
and change `special-3` to `special-2` and `special-2` to `special`,
where appropriate.

`default` is still at the top of the lists, to make it easier to find.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/689>
2024-10-09 01:45:53 +02:00
ef016786e7 layouts: Replace altline with special-2 and wide with special-3
to use the same name for the same button-style.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
85a0f79e92 layouts: Clean up spaces in layout-files
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
f6e0deedd7 layouts: Change Shift_L to show_upper
because it is actually not a Shift-key.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
466bc4beef Reduce layout-changes when switching views and make layouts more consistent
An input-device should generally not change shape/functionality during use,
unless there is a good reason for that and it is clearly indicated
when that happens, as otherwise it will be more complicated
and exhausting to use, and learn to use, the input-device.

To improve that, this commit will:

- Make it so that the space-bar, view-switching buttons, backspace-button,
  and return-button will not move around when switching views.

- Add placeholder-buttons and/or stretch buttons to fill gaps.

- Remove buttons that are duplicated in the same view.

- Add buttons for entering commas, on the base-views of some layouts.

- Make the shape of layouts fit into a rectangular space; usually
  without empty space.

- Align layouts more closely to the expected aspect-ratios, to reduce
  changes when switching between languages, and use more of the available
  space.

Other changes:

- `.`-buttons are generally not highlighted anymore.

- On the layouts `gr` and `gr+polytonic`, the highlighting for punctuation
  has been switched to `subtle-highlight` from `special`, so those can be
  visually distinguished from buttons with special functionality.

- The Spanish characters `ñ` and `Ñ` on the `French (Swiss)`-layout (ch+fr)
  were making the layout wider than it should be.
  As there was no other appropriate place for those buttons,
  and the layout is meant for entering French, not Spanish,
  those buttons have been removed from the layout.

Some layouts have been changed much:
- gr+polytonic (which requires more work, but it is much more usable now)
- ir

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/646>
2024-04-28 14:57:46 +02:00
abc0cc6d0b Layouts: Fix indentation
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:06 +02:00
a6c6946bc9 Layouts: Fix some small inconsistencies and remove unused outlines
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:06 +02:00
9c0e14f4a8 Layouts: Use double-quotes more consistently
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
29b4061ee9 Layouts: Use "change-view"-outline for all view-changing buttons
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
5cfb940caa Add the remaining, wide shapes for layouts
There should be a wide shape for
all available layouts, so those can be used
well on devices in horizonal orientation.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/630>
2024-03-20 19:43:06 +01:00