View Single Post
Old Yesterday, 07:24 AM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
Hi @chaley

Just noticed something weird with the HTML parser.
I added the translator info to the authors' tooltip using this template:
Code:
program:
	if $#translator  then
		tooltip = 'Autor: ' & $authors  & '<br/>' & 'Tradutor: ' & $#translator
	else
		tooltip = 'Autor: ' & $authors
	fi;
	tooltip
This made my tooltip's width to shrink.

Here it is without the <br/>:
Attachment 217982

Now, with the <br/>:
Attachment 217983
Qt's tooltip display will choose different box dimensions for HTML vs plain text. Unfortunately I can't do anything about it. Showing the authors 1 per line might give you results you prefer.
chaley is offline   Reply With Quote