kagof / intellij-pokemon-progress

A Pokémon themed progress bar for IntelliJ IDEA.

Home Page:https://plugins.jetbrains.com/plugin/15090-pokemon-progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tooltip should show fullsize preview of the Pokémon

VapidLinus opened this issue · comments

Current behaviour (optional)
Hovering over the loading bar shows a tooltip which displays the name of the Pokémon.

Description of the desired feature (required)
The tooltip should also include the full size icon of the Pokémon.

Why this feature would be valuable (optional)
I have locked my bar's height at 20px (thanks to the latest update, thanks!) so some of the Pokémon icons are very small. It would be neat to be able to quickly see the full size icon.

Additional information or context (optional)
In addition to it being full size - maybe it can optionally be displayed at 2x the full size. Or scale to fit the tooltip size. This is what I would prefer as the icons are pretty small. Maybe this is easier with the upcoming work on the SVG support or the runtime upscaling of icons.

That's a cool idea, thanks @VapidLinus! Swing ToolTips seem to be a bit gross to extend to more than just the toolTipText (you can call createToolTip but not certain how to use that to to include icons in it), but it sounds like they might actually work with HTML, which could work for this. I'll play around with this some time and see what's possible :)