INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: NEW: Tooltip and File Info Customization Improvements  (Read 18165 times)

Absinthe

  • Guest
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #50 on: September 01, 2019, 03:53:14 pm »

Hendrick, are you all planning on adding a center or hr tag?  I know you said that there was a concern about not knowing the width of the tooltip.  But that wouldn't be an issue with a fixed width. 

A center tag would be a great help.  I've noticed that any image that has a portion of the text that would normally be "below the line" (Like the g in Discogs) is going to result in the image being slightly out of alignment with the text.  The alternative to a center feature would be to reproduce your images so there is equal "empty space" above the text in order to balance the space below the text and result in a centered image. 

See the attached picture for an example.  The I in AllMusic skews the text low and the g in Discogs skews the text high.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1981
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #51 on: September 02, 2019, 10:26:15 am »

I think that for that view where you want everything to be same height you could use <font size="xx"> to set height for whole row and everything will be centered vertically.
Something like this. Change size for your tastes...
<font size="150"><img src="amg"> 4,5/5   <img src="discogs"> 4,12/5<//font>

Vertical alignation parameter for <img> would still be kind of essential though.

One question for you Absinthe. Is the screen in the picture representing group or one file? I have been trying to show data for a group in small screen but haven't succeed. Not sure if it is even possible?
Logged

Absinthe

  • Guest
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #52 on: September 02, 2019, 08:06:57 pm »

I think that for that view where you want everything to be same height you could use <font size="xx"> to set height for whole row and everything will be centered vertically.
Something like this. Change size for your tastes...
<font size="150"><img src="amg"> 4,5/5   <img src="discogs"> 4,12/5<//font>

Vertical alignation parameter for <img> would still be kind of essential though.

One question for you Absinthe. Is the screen in the picture representing group or one file? I have been trying to show data for a group in small screen but haven't succeed. Not sure if it is even possible?

Its not really a question of the text and image being the same height.  The algorithm that embeds the image with the text seems to do a pretty good job of scaling everything the same, its the instance where the centerline of the image does not align with the centerline of the text. This is usually because there are letters or numbers in the image that drop below (or above) the upper or lower lines of the remainder of the word.  I played around with the sizing and the height/width of the image and it only made the issue worse (see below).  This type of application really needs a center command within the image.

As far as the snipet of the screen I attached, this is the small screen for my Audio panel that is presented after you select an album.  Originally I wanted to put the Album review here but the text is just to large in most cases and to give myself any more room Id have to edit the skin :o

Similarly, no matter what kind of list style type, none of the skins I've used allow an area for common information until you drill down to a particular album  I believe this is a skin limitation  :(
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1981
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #53 on: September 03, 2019, 12:14:03 am »

I get what you say and agree with you as I requested it already earlier  :)  but did you just try using font size and not image size. I think that meantime while waiting some adjustments for <img> it centered images better for me.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 699
  • Hi
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #54 on: September 03, 2019, 02:18:33 pm »

Tables are a bit on the too complex side layout wise right now.

Is there any chance of this changing?  Maybe not tables, but someway to position elements.  This would really blow the doors open for what we could achieve, especially within Theater View.
Logged

Absinthe

  • Guest
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #55 on: September 03, 2019, 02:26:40 pm »

I get what you say and agree with you as I requested it already earlier  :)  but did you just try using font size and not image size. I think that meantime while waiting some adjustments for <img> it centered images better for me.

Sorry, my response was not complete, yes I did try font size and image size changes (both size and height and width).  Nothing really came together to satisfy me.  I usually try to do my due diligence  before asking for a change :D   
Logged

Absinthe

  • Guest
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #56 on: September 03, 2019, 02:28:17 pm »

Is there any chance of this changing?  Maybe not tables, but someway to position elements.  This would really blow the doors open for what we could achieve, especially within Theater View.

Waiting anxiously with baited breath to steal Moe's ideas ;D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1981
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #57 on: November 24, 2019, 01:46:04 am »

Some kind of vertical positioning of the image would be nice. Maybe "top", "bottom", "center" or perhaps some numeric value. In this example I would like to show rating labels (tmdb & jriver) in the center of the row not up. With position parameter I wouldn't have to make new png's for every different situation.
Code: [Select]
f(IsEqual([Access Rating],TV-14),<img src="tooltip:rating-tv-14" height="60">,If(IsEqual([Access Rating],TV-G),<img src="tooltip:rating-tv-g">,If(IsEqual([Access Rating],TV-MA),<img src="tooltip:rating-tv-ma">,If(IsEqual([Access Rating],TV-PG),<img src="tooltip:rating-tv-pg">,If(IsEqual([Access Rating],TV-Y),<img src="tooltip:rating-tv-y">,[Access Rating]))))) <font size="90" color="#696b75"><b>AIRED: <//b><//font><font size="90">[Date]<//font><b>  |  <//b><font size="90" color="#696b75"><b>DURATION: <//b><//font><font size="90">[Duration]<//font><b>  |  <//b><font size"180">If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb-wide" height="30"><//font><font color="#9b7600"> ★FormatNumber([Critic Rating,0], 1)<//font>,)  <img src="tooltip:web-jriver-1" height="30"> <font color="#9b7600">★If(IsEqual([Rating],0,5),[rating],<b>-<//b>)<//font>
Perhaps something like this:
<img src="tooltip:web-jriver-1" position="center" height="30">
Any plans for vertical position parameter?
If you could at least change default position to center so images can be used between text more easily. Currently images are placed TOP like in attached picture which makes feature kind of half ready.
Logged

Absinthe

  • Guest
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #58 on: November 24, 2019, 12:33:21 pm »

+1
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 699
  • Hi
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #59 on: November 24, 2019, 04:04:13 pm »

Big +1 from me as well.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1981
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #60 on: February 13, 2020, 02:51:30 pm »

Any plans for vertical position parameter?
If you could at least change default position to center so images can be used between text more easily. Currently images are placed TOP like in attached picture which makes feature kind of half ready.
bump
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #61 on: April 27, 2020, 11:20:31 pm »

Bumping this again.  It looks like we still don't have any way to align images vertically within the text line, and the default is still to align them to top.

This kind of makes the "height" property useless, because if you make your height smaller than the line height, the image raises up above your text.  It looks bad.

Even if no direct control is given to users, just changing the default to center vertically would be a huge improvement.  This was talked about months ago like it would be no problem, but never implemented.  Wouldn't default vertical alignment be easy to do?  The line height is known.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10805
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #62 on: April 28, 2020, 01:21:42 am »

This is already possible in 26.0.70 and newer, which isn't available yet (for Windows at least, its in Mac 26.0.70 already)
Logged
~ nevcairiel
~ Author of LAV Filters

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: NEW: Tooltip and File Info Customization Improvements
« Reply #63 on: April 28, 2020, 01:29:44 am »

That's really good news, thanks Hendrik!
Logged
Pages: 1 [2]   Go Up