anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
46 stars 16 forks source link

Toolpit windows scale according to name #1801

Open daretmavi opened 2 years ago

daretmavi commented 2 years ago

Game Version: 1.16.4 Platform: Linux (KDE neon 20.04 5.24) Modded: No SP/MP: Singleplayer

Description

Toolpit window for items is not scaling with item name, but scales with description. For some items, I can reduce the translation, but for another it is not effective, because in world it is shown ok, but in craft menu (E) it is not.

How to reproduce

  1. Use Slovak translation
  2. Look at Dry Farmland (Medium Fertility) (Suchá poľnohospodárska pôda (stredne úrodná))
  3. You can see the text is wrapped (and not good) instead the window scaled
  4. If you look at e.g. Low fertility soil(Málo úrodná pôda), you can see, the window can be stretched. Seem it is stretched according to description.

Expected behavior

Should stretch the window according to the item name, the same way as it is stretched according to description.

Screenshots

Dry Farmland (Medium Fertility)

Low fertility soil

daretmavi commented 2 years ago

Seems to be an issue with some vanilla English names as well.

daretmavi commented 1 year ago

Tested in 1.18 pre8

There are still some problems with text wrapping obrázok

Maybe, letting 2 rows for the name would help a lot, especially if the window is not scaled accordingly to the text.

daretmavi commented 1 year ago

Looks the same in 1.19.0 pre.4

Craluminum2413 commented 1 month ago

Test image