When using hud.notification the text will not correctly extend the boundaries of the UI box to display all the text. This happens on all languages with any line, it seems the length is either hardcoded based on the line's length or otherwise.
EDIT: After some testing this seems to be only on localized lines, I hypothesize that it is setting the UI's length to the localization line's length but not accounting and changing the length once the actual line is inputted in, since there's no issues using non-localized lines.
Steps to reproduce the behavior
Create script using SetString("hud.notification","")
Set the string to be used as any lengthy one, such as loc@TOOL_DESC_ROUNDS_NITROGLYCERIN
Test
See error
Expected behavior
The box should wrap it's length across the entire line, and comfortably fit all the words with margins and spacing.
Describe the bug
When using
hud.notification
the text will not correctly extend the boundaries of the UI box to display all the text. This happens on all languages with any line, it seems the length is either hardcoded based on the line's length or otherwise.EDIT: After some testing this seems to be only on localized lines, I hypothesize that it is setting the UI's length to the localization line's length but not accounting and changing the length once the actual line is inputted in, since there's no issues using non-localized lines.
Steps to reproduce the behavior
SetString("hud.notification","")
loc@TOOL_DESC_ROUNDS_NITROGLYCERIN
Expected behavior
The box should wrap it's length across the entire line, and comfortably fit all the words with margins and spacing.
Environment