Have bark dialogue resize to actual text width when text wraps
Posted: Fri Jan 08, 2021 10:50 am
Hello,
I'm running into an issue that when text wraps in a bark the dialogue background does not resize to the actual text width and consequently an unpleasant visual.
In the attached image, which is a screenshot taking from the scene editor while the game was paused, one can see that there is some extra spacing (which I figure has something to do with the way wrapping works). I'd like to know how to get the dialogue background to match the actual text width. Is there a "quick fix" or does one need to take another approach to how the bark component is setup all together?
For reference what you see in the attached image is a very lightly modified version of the "Bubble Template Standard Bark UI" prefab - all I've done is change the font and the the image on the UI component.
Thanks,
I'm running into an issue that when text wraps in a bark the dialogue background does not resize to the actual text width and consequently an unpleasant visual.
In the attached image, which is a screenshot taking from the scene editor while the game was paused, one can see that there is some extra spacing (which I figure has something to do with the way wrapping works). I'd like to know how to get the dialogue background to match the actual text width. Is there a "quick fix" or does one need to take another approach to how the bark component is setup all together?
For reference what you see in the attached image is a very lightly modified version of the "Bubble Template Standard Bark UI" prefab - all I've done is change the font and the the image on the UI component.
Thanks,