Add border at the bottom of view-changing buttons

to make those distinguishable from other highlighted buttons.

The border at the bottom makes it look like a stack of buttons
that will be put into position when tapping the view-changing buttons.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/635>
This commit is contained in:
MoonlightWave-12
2024-04-08 19:43:41 +02:00
parent d3f03e9bef
commit 31ad8f9c93
8 changed files with 574 additions and 308 deletions

View File

@ -1,10 +1,12 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
change-view: { width: 81, height: 42 }
change-view-2: { width: 108, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
views:
base:
@ -34,7 +36,7 @@ buttons:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
@ -47,22 +49,22 @@ buttons:
show_numbers:
action:
set_view: "numbers"
outline: "wide"
outline: "change-view-2"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
outline: "change-view"
label: "123"
show_letters:
action:
set_view: "base"
outline: "wide"
outline: "change-view-2"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
outline: "change-view"
label: "*/="
.:
outline: "special"