The Button's for NPC Dialog gets shortened with '...'
Kooreh opened this issue ยท 5 comments
Describe the bug
I am not sure if this is a bug or an intended feature, but I kindly wanna say I am not much of a fan of this change.
To Reproduce
Steps to reproduce the behavior:
- Set up the NPC's dialog, the shorter and lesser the dialog itself is, the better to observe this issue happening.
- Either create a new custom button, or use the already made Yes/no option and edit the button and name it something really long.
- Click save, and enage in NPC interaction, Then you'll be able to see the NPC's Button (if it was long enough text) gets simplified, or should I say, blocked with a ... after a certain text.
Can I also ask if clicking the button that isn't assigned to anything used to end the conversation, so I often created the button that has nothing assigned as a dialog, name it 'End Conversation'; with the recent update, the button that lands on nowhere just does nothing but clickable, as well as not end the conversation. could there be a command where I can close the NPC's dialog immediately after clicking the button like how we were able to paste the commands to make npcs open their trade pages through action?
Thanks for the report.
The new dialog has about 8 different kind of layouts depending on the dialog text and the numbers of buttons.
Depending on the numbers of buttons the button text will be shorted after a specific amount of characters.
If you could share a screenshot I could see if there is a bug in one of these 8 different layouts.
The "End Conversation" with not assigned buttons should be the normal case and is a bug on my side.
Thanks. There is definitely a bug in the second dialog which should allow more characters.
For the other dialog I will reposition the buttons to allow more characters and re-check all layouts.
The buttons has a wip feature to display an "icon" with the text. Maybe I will additionally add a scrolling text for the buttons instead of cutting the text.
Just as a note you can use <br>
or \n
inside the dialog text to force a line break.
With the next release version I will also update the documentation to make sure such details are covered as well.