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

Textbox Control - Multi-line Support #10

Open
thecliguy opened this issue Jun 5, 2018 · 1 comment
Open

Textbox Control - Multi-line Support #10

thecliguy opened this issue Jun 5, 2018 · 1 comment
Assignees

Comments

@thecliguy
Copy link

thecliguy commented Jun 5, 2018

Can multi-line support be added to the textbox control, so that pressing return inserts a new line?

The control is already capable of displaying multiple lines if you populate the Text property - but editing does not work well as you cannot navigate beyond the first line:
image

@LokiMidgard
Copy link
Owner

I think the problem is here:

SetCurserPosition(new Point(CurserIndex, 0));

Also if the textbox would be to small for the text (including single line) I think it will also be rendered wrong.

I won't get to work on this project this week, and I'm not sure if I can make it next week.

Sorry for the delay.

@LokiMidgard LokiMidgard self-assigned this Jun 5, 2018
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