Opened 8 years ago
Last modified 2 years ago
#4252 closed defect
Dynamic chat label resizing — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 26 |
Component: | UI – In-game | Keywords: | simple |
Cc: | Patch: |
Description
The labels "To:" and "Text:" in the chat window are properly formatted in english, but some languages need more space than had been allocated when the strings and labels were introduced in r17771.
Just using the maximum size to fit all language yields ugly results in enlgish, see screenshot:
A better approach were to resize the label and text boxes dependent on the actual length.
There is Engine.GetTextWidth()
that should be able to accomplish that.
Change History (2)
by , 8 years ago
Attachment: | addressee_size_issue.jpg added |
---|
by , 8 years ago
Attachment: | chat_window_stupid_resize_v1.patch added |
---|
Note:
See TracTickets
for help on using tickets.
This is how it would look if we were just to follow hardcoded sizes that are compatible with long-strings.