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

Problem with the text event (The last symbol is always in a new line) #3

Open
77HriP77 opened this issue Apr 14, 2022 · 3 comments
Open

Comments

@77HriP77
Copy link

77HriP77 commented Apr 14, 2022

The problem

When typing in the input field, the last letter is always transferred to a new line. Even with 1 character, a line scroll appears. If I write many letters in a row without spaces, I only see the last one, if I press backspace I will see the whole line. But if I click something again, it's a line break again.

To Reproduce
Steps to reproduce the behavior:
An empty project.
Created a scene - added a dialogic scene - created timeline+2 characters (not important) - went to the dialogic tab - added a text event - I enter the text.
Nothing unusual.

Expected behavior
I should see the text I'm typing :)

Screenshots
I clicked on the input field and pressed the A key once:
изображение_2022-04-14_231825678

I clicked on the input field and pressed the A key:
изображение_2022-04-14_232030181

I deleted one letter:
изображение_2022-04-14_232137538

If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: Windows 8
  • Godot Version: Godot_v3.4.4-stable_win64.exe
  • Dialogic Version: Version 1.4.2 - WIP

Workaround
I can make a few line indents, then the input field will become larger and I will see the first line.
image

@AnidemDex
Copy link
Contributor

Maybe is related to this too?
image

@AnidemDex
Copy link
Contributor

Can replicate on main (dialogic-godot/dialogic@ea66786)
image

@eadwardus
Copy link

I gave a quick look at the scene responsible for this behaviour, as a quick solution, you can open the scene "addons/dialogic/Editor/Events/Parts/Text/TextEditor.tscn" and set the horizontal size flag (under "size flags") from the "TextEdit" node to "fill, expand"
textedit
sizeflags
result

@Jowan-Spooner Jowan-Spooner transferred this issue from dialogic-godot/dialogic Apr 10, 2024
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

3 participants