HabitRPG/habitica

equipment piece's stat screen should adapt to different language text lengths

Open

#10,048 opened on Feb 24, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (10,775 stars) (3,912 forks)batch import
help wantedpriority: mediumsection: Equipment

Description

When using a language other than English, the fixed widths in the stat screen for an equipment piece can cause wrapping in the middle of words:

Wahrnehmung line break

The fix could be that the boxes within the screen and the screen itself expand themselves to be big enough to contain whatever is in them, or they are given a fixed size that is certain to be large enough for all possible translations of the names of the stats.
@Tressley

Thanks to Scea for reporting this.

Contributor guide