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,11 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 89.3, height: 52 }
special: { width: 35.33, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
change-view: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 89.3, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -39,7 +40,7 @@ buttons:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
@ -52,24 +53,24 @@ buttons:
show_numbers:
action:
set_view: "numbers"
outline: "altline"
outline: "change-view"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
outline: "change-view"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
outline: "change-view"
label: "*/="
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
outline: "change-view"
label: "Ää"
space:
outline: "spaceline"

View File

@ -1,13 +1,14 @@
---
outlines:
default: { width: 48, height: 42 }
halfwidth: { width: 24, height: 42 }
thin: { width: 30, height: 42 }
narrow: { width: 40.5, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 156, height: 42 }
special: { width: 48, height: 42 }
default: { width: 48, height: 42 }
halfwidth: { width: 24, height: 42 }
thin: { width: 30, height: 42 }
narrow: { width: 40.5, height: 42 }
altline: { width: 81, height: 42 }
change-view: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 156, height: 42 }
special: { width: 48, height: 42 }
views:
base:
@ -42,7 +43,7 @@ buttons:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
@ -55,24 +56,24 @@ buttons:
show_numbers:
action:
set_view: "numbers"
outline: "altline"
outline: "change-view"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
outline: "change-view"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
outline: "change-view"
label: "*/="
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
outline: "change-view"
label: "Ää"
space:
outline: "spaceline"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,12 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 141.3, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
change-view: { width: 52.67, height: 52 }
change-view-2: { width: 62, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 141.3, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -34,12 +36,12 @@ buttons:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
@ -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"

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"