Hardcore Questing Mode [FORGE/FABRIC]

Hardcore Questing Mode [FORGE/FABRIC]

16M Downloads

Tooltips Show Partly Offscreen

Darkosto opened this issue ยท 2 comments

commented

Hello!

When working with some items that have a longer tooltip, they will appear offscreen and are unreadable. When attempting to use a line-break in the lang file to fix this, HQM will show a broken character instead:

image
image

The line break works normally in the inventory:
image

Is there a possibility a tooltip wrapper could be added to condense a tooltip and not allow it to go offscreen?

Thanks!
Darkosto

MC: 1.18.2
Forge: 40.2.0
HQM: 5.11.2

commented

From testing the call to gui.renderTooltipL over in QuestRewardsGraphics#drawRewardMouseOver doesn't work correctly.
Changing the call to gui.renderComponentTooltip seems to properly wrap the tooltip.
I could whip up a PR if wanted :)

commented