Skip to content

Commit 696b4d9

Browse files
author
okay
committed
[ui] center keyboard button text
1 parent 5dc3002 commit 696b4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rmkit/ui/keyboard.cpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace ui:
5959
string text = ""
6060
int btn_width
6161
int btn_height
62-
static Stylesheet BTN_STYLE = Stylesheet().font_size(48)
62+
static Stylesheet BTN_STYLE = Stylesheet().font_size(48).valign_middle().justify_center()
6363
static Stylesheet INPUT_STYLE = Stylesheet().font_size(64)
6464

6565
KEYBOARD_EVENTS events

0 commit comments

Comments
 (0)