More > JRiver Media Center 25 for Windows
NEW: Tooltip and File Info Customization Improvements
JimH:
--- Quote from: Moe on July 30, 2019, 12:26:21 pm ---Haha, thanks. My first impression wasn't great after reading Matt's response. Thanks for implementing this.
--- End quote ---
Thank you! It was your work that got us talking about it.
Matt:
I've been punted!
Been hard at work and hopefully will have an even better solution to show for it.
thorsten:
Thank you for listening so often to the community!
If you find an easy way to implement it in MC, this might be the beginning of several "customize" tools like
- theatre view "customize" (it is a little bit trickier than tooltip)
- audio informations for music (I think, there is very much potential, and with proper use of expression language one can build its own Roon)
RoderickGI:
--- Quote from: Matt on July 30, 2019, 01:31:19 pm ---Been hard at work and hopefully will have an even better solution to show for it.
--- End quote ---
Excellent.
I was wondering why you didn't just use HTML tags, even if the result wasn't actually displayed in a browser. At least HTML would be familiar, so uptake would be better, and the range of required functions is already well defined.
But a good first step.
Hendrik:
Matt has been working hard on this, and I've just looked it over and it seems good so far.
What we have now is sort-of faux-HTML, but easy enough anyway, so what you can do now is this:
(The original method mentioned originally in the first post has been removed)
--- Code: ---Text <img src="tooltip:DVDLogo"> More Text
Text <img src="tooltip:DVDLogo" size="64x64"> More Text
Text <img src="tooltip:DVDLogo" width="24" height="16"> More Text
Text <img src="tooltip:DVDLogo" height="16"> More Text
Text <img src="tooltip:DVDLogo" width="24"> More Text
--- End code ---
- The image source is currently limited to a new folder in Data, namely Data\Tooltip, and the image still needs to be PNG (ie. this example would look for Data\Tooltip\DVDLogo.png)
We'll talk about including a bunch of standard images soon. A collection of those to start out with would be great. The prefix in the path allows us to add new image locations in the future.
The various size options should behave mostly intuitive, I would hope!
- Not specifying any size will match the image height to the currently active font size (with a fitting width for aspect ratio of the image), so that it fits snuggly in as an inline image.
- Specifying a full size (either by using "size" or both width/height) will use just that size (unless it doesn't fit into the text line its drawing into, then it'll scale down)
- Specifying only one dimension will determine the other one based on the aspect ratio of the image.
The really nice thing is that this can be used literally anywhere in MC where formatted text is supported, and is not limited to tooltips.
For performance reasons I would recommend to not go crazy overboard with images though. :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version