Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about text area #21

Closed
scopa90 opened this issue Aug 29, 2017 · 2 comments
Closed

Question about text area #21

scopa90 opened this issue Aug 29, 2017 · 2 comments

Comments

@scopa90
Copy link
Contributor

scopa90 commented Aug 29, 2017

I'm trying to use a text area which is one_line and pwd_mode both set true. Using lv_ta_set_cursor_pos LV_TA_CUR_LAST and lv_ta_add_char to append characters shows them on the screen before they are replaced by '*'. However, when I use lv_ta_get_txt I get 'Text area' returned and if I use lv_label_get_text I get an empty string. If I also use lv_label_append_text then I am able to get the text back that I would expect. Wouldn't it better to have lv_ta_get_txt return the contents of the text area or have I misunderstood how this works?

@kisvegabor
Copy link
Member

Hi,

it was really wrong. I fixed it an pushed the update in to lvgl:beta

Please let me know how it is working for you now!

@scopa90
Copy link
Contributor Author

scopa90 commented Aug 29, 2017

Fixed

@scopa90 scopa90 closed this as completed Aug 29, 2017
mask131 pushed a commit to mask131/lvgl that referenced this issue Jan 25, 2021
kisvegabor added a commit that referenced this issue Aug 19, 2021
Fix various C99 standard issues
kisvegabor added a commit that referenced this issue Aug 19, 2021
kisvegabor added a commit that referenced this issue Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants