CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.59k stars 4.17k forks source link

Spell menu gets squashed into ueslessness with long spell names #77116

Open Keltas opened 1 week ago

Keltas commented 1 week ago

Describe the bug

With the addition of hedge magic in the Xedra Evolved mod came magic squares and their long names. In particular the culprit here is "To Cause the Spirits to Bring us Anything We May Wish to Eat or to Drink". It stretches the name box so far that the information about the spell on the right is illegible. Removing the spell in question makes the spell menu readable but still squashed a bit by the next longest name.

Attach save file

N/A

Steps to reproduce

Start the game as "XEDRA Operative, Department of Extra-Normal Capabilities, SATOR Division" who starts with the spell in question.

Expected behavior

For the spellbook box to either resize, to cut the long spell name short using ellipsis (...) or to continue on the next line.

Screenshots

Bug

Versions and configuration

Additional context

No response

CLIDragon commented 9 hours ago

I imagine any fix will probably rely on #76513.