PiervitoCreanza / IS24-AM02

This project is a Java-based implementation of the table game "Codex Naturalis", developed as the final project for the 2023/2024 Software Engineering course at Politecnico di Milano.
4 stars 0 forks source link

[GUI] Handle long names in "current status box" and "toast" #160

Closed simonecurci closed 4 months ago

simonecurci commented 4 months ago

When a long name is used, it breaks vboxes alignment and both the chat and the menu disappear. When a "long toast" is displayed the board disappear image

simonecurci commented 4 months ago

We use this for hold in the TUI: if (gameNameString.length() > 26) { gameNameString = gameNameString.substring(0, 23) + "..."; }

PiervitoCreanza commented 4 months ago

Fixed