How to use one keyboard widget for multiple text areas?

What do you want to achieve?

  • Use one keyboard in SquareLine Studio to input numbers into any selected text area, unfortunately keyboard widget can only have one target

What have you tried so far?

  • Adding events to the text areas so that when clicked, keyboard widget changes target text area
  • Unfortunately, I haven’t found a way to do the above successfully through events

Screenshot or video

image
Keyboard will only target guide position text area in image above
image
How can I make the keyboard change text area targets depending on which text area I click?

Others

  • SquareLine Studio version: Latest
  • Operating system: Windows 11
  • Target hardware: WT32-SC01

“keyboard set target text area” is really missing. We will added in the next release.

1 Like

Thank you, but in the meantime, is there a way to use one keyboard for different text areas? Like “click” which text area to type in, so that the keyboard changes target text area? Maybe a way for me to code it in?

Yes, in LVGL it’s possible. See Text area (lv_textarea) — LVGL documentation

2 Likes