Skip to main content
Mvill.17
Associate III
November 20, 2020
Question

Trivial question about customizing a keyboard

  • November 20, 2020
  • 2 replies
  • 1028 views

I redesign a layout of a keyboad (as I'm interested in numeric keys only, for a login).

Everything is OK but I didn't managed to place the text of the key inside its button shape

( i.e. texts: "1", "2", etc appears outside the button)

How can I tell where to draw the texts of keys?

Thanks

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
November 20, 2020

Hi,

What have you done exactly ? Are you using the keyboard example provided in TouchGFX Designer or a project of your own ?

Could you share some screenshots or some code ?

/Romain

Mvill.17
Mvill.17Author
Associate III
November 24, 2020

I solved the problem in another way: I redesigned the layout from the ground up and wrote a class to handle my custom keyboard but it was a pity

having a working framework which already handles a quite generic layout and give up just because the keys text appear not centerd respect to the keys itselves.

Anyway the original layout was: