mojira.dev
MC-256822

Advancement description text cuts words in weird places if title is too short

The width of an advancement's description is set to the width of the icon and title of the advancement combined; any words that do not fit within this width get cut onto the next line, making reading short-title advancements' long-description words unnecessarily hard.

Steps to reproduce:

  • Install the attached data pack

  • Look at the advancement screen

Current result:

"Squishing", "masterfully", "incorrectly", "unbearably" and "longstanding" are spread over multiple lines.

Expected result:
The advancement text's total width is set to the higher of "icon + title" or "longest description word" at least, OR higher of "icon + title" or a set, reasonable width, if the description would reach that width, OR OR, just have advancements use the full text width, and make the advancement creator responsible for adding newlines.

Attachments

Comments 0

No comments.

user-f2760

gegy

Confirmed

Platform

Normal

UI

1.19.2, 22w42a, 22w46a, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b

24w44a

Retrieved