layouts: Improve number-layout

- Larger buttons
- Numbers centered

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/687>
This commit is contained in:
MoonlightWave-12
2024-09-28 20:50:57 +02:00
committed by Marge Bot
parent cd10cd7b13
commit cd19ea9579
2 changed files with 20 additions and 20 deletions

View File

@ -1,26 +1,26 @@
--- ---
outlines: outlines:
default: { width: 37.46, height: 52 } default: { width: 71.314, height: 52 }
special-2: { width: 48.39, height: 52 } special: { width: 71.314, height: 52 }
special-3: { width: 88.98, height: 52 } spaceline: { width: 142.628, height: 52 }
spaceline: { width: 120.58, height: 52 }
views: views:
base: base:
- "1 2 3 ( )" - "( 1 2 3 )"
- "4 5 6 # *" - "# 4 5 6 +"
- "7 8 9 + -" - "* 7 8 9 -"
- "BackSpace 0 space Return" - "BackSpace 0 space Return"
buttons: buttons:
BackSpace: BackSpace:
outline: "special-2" outline: "special"
icon: "edit-clear-symbolic" icon: "edit-clear-symbolic"
action: "erase" action: "erase"
space: space:
outline: "spaceline" outline: "spaceline"
text: " " text: " "
label: "␣"
Return: Return:
outline: "special-3" outline: "special"
icon: "key-enter" icon: "key-enter"
keysym: "Return" keysym: "Return"

View File

@ -1,26 +1,26 @@
--- ---
outlines: outlines:
default: { width: 37.46, height: 42 } default: { width: 73.5, height: 42 }
special-2: { width: 48.39, height: 42 } special: { width: 73.5, height: 42 }
special-3: { width: 88.98, height: 42 } spaceline: { width: 147, height: 42 }
spaceline: { width: 120.58, height: 42 }
views: views:
base: base:
- "1 2 3 ( )" - "( 1 2 3 )"
- "4 5 6 # *" - "# 4 5 6 +"
- "7 8 9 + -" - "* 7 8 9 -"
- "BackSpace 0 space Return" - "BackSpace 0 space Return"
buttons: buttons:
BackSpace: BackSpace:
outline: "special-2" outline: "special"
icon: "edit-clear-symbolic" icon: "edit-clear-symbolic"
action: "erase" action: "erase"
space: space:
outline: "spaceline" outline: "spaceline"
text: " " text: " "
label: "␣"
Return: Return:
outline: "special-3" outline: "special"
icon: "key-enter" icon: "key-enter"
keysym: "Return" keysym: "Return"