EMI

EMI

14M Downloads

Tooltip for remaining items from tag ingredient can get very long

TheRealWormbo opened this issue ยท 0 comments

commented

While testing recipes with remaining items from a tag ingredient for Botania, I came across this tooltip issue:

EMI display with tooltip for a recipe to remove the cover from a mana spreader

The setup is as follows:

  • An item tag containing 16 different color versions of an item. (Here, wool-covered versions of a mana spreader type in Botania.)
  • A (shapeless) recipe with that tag as an ingredient.
  • The recipe defines that the tag ingredient item leaves behind a specific item, depending on the actual input item. (e.g. white covered spreader leaves behind white wool)
  • Point at the tag ingredient in the recipe display.

Several behaviors seem to come together in an unfortunate way here:

  • Each possible remaining item conversion is listed separately. (here that's 16 options)
  • The bottom of the tooltip is aligned to the bottom of the screen.
  • The automatic GUI scale makes the tooltip larger than the available screenspace.

I'm not sure what a correct fix would look like, but it seems like the top of the tooltip likely contains more useful information than the bottom in this case. There is also a lot of wasted space in the tooltip due to each conversion being in its own line.