Skip to content

Textinput weirds out #248

Answered by bashbunni
maxall41 asked this question in Q&A
Feb 28, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey,
it looks like the vertical spacing in the dialog box is getting a bit messed up when View() gets called after the textinput updates.
I was able to get it fixed by changing return style.Render(dialog + "\n\n") to return style.Render(dialog)
These newlines are basically manually adding margins to the height.
Let me know if this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxall41
Comment options

Answer selected by bashbunni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants