<div dir="ltr">FYI, this is the MapTip template used in QGIS 3.32<br><br><html><br>   <head><br>     <style><br>     body {<br>         margin: 0;<br>         font: %1pt \"%2\";<br>         color: %3;<br>         width: %4px;<br>     }<br>     #QgsWebViewContainer {<br>         background-color: %5;<br>         border: 1px solid %6;<br>         display: inline-block;<br>         margin: 0<br>     }<br>     #QgsWebViewContainerInner {<br>         margin: 5px<br>     }<br>     </style><br>   </head><br>   <body><br>     <div id='QgsWebViewContainer'><br>       <div id='QgsWebViewContainerInner'><br>       %7<br>       </div><br>     </div><br>   </body><br></html><br><br>The HTML code typed by the user is actually inserted in place of the '%7' placeholder.<br>Note that in 3.32 the maptip WebView is at most (canvas_width/2) * (canvas_height/2). <div>This will change in 3.34 where it will take the space available in the largest quadrant around the cursor.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 13 août 2023 à 08:47, Adam Nielsen via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Since upgrading to QGIS 3.32 the map tips are now working for me.<br>
However the HTML formatting seems to have changed.  I can adjust the<br>
HTML to mostly work around it, however the one thing I can't figure out<br>
how to do is to change the frame size so the popup itself appears<br>
larger on the screen.<br>
<br>
Previously I was putting a photo in the map tip with <img width="1024"><br>
and it would open up in a map tip 1024 pixels wide, so I could clearly<br>
see the whole photo.<br>
<br>
Now, in QGIS 3.32, the map tip seems to be limited to a postage-stamp<br>
sized box with scroll bars, so the image is the same size as before,<br>
but now I have to scroll around and I can only see a tiny bit of the<br>
photo at any one time.<br>
<br>
I have tried using <style> tags and setting the 'body' element to have<br>
a different width but this did nothing, and adding <html> and <body><br>
tags didn't do anything either.  My <div> tags seem to have become<br>
inline instead of "display: block" like they were previously so<br>
something seems to have happened with the styling.<br>
<br>
I've looked through the manual but can't find anything in there about<br>
setting how large the map tip popup actually is.  The information I<br>
can find on Google only works for earlier QGIS versions where the tip<br>
resized to fit the content, but this no longer appears to be the case.<br>
<br>
How can I make the map tip closer to the 1024x768 size of my HTML<br>
content, so I can see the full content without the map tip having any<br>
scroll bars at all?<br>
<br>
Thanks,<br>
Adam.<br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><table style="color:rgb(34,34,34);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;border:none;border-collapse:collapse"><colgroup><col width="225"><col width="462"></colgroup><tbody><tr style="height:124pt"><td style="vertical-align:top;padding:5pt;overflow:hidden"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><img src="cid:ii_lgw9mtyc4" alt="image.png" width="200" height="56"><br></p></td><td style="vertical-align:top;padding:5pt;overflow:hidden"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14pt;font-family:"Open Sans",sans-serif;color:rgb(0,51,126);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Yoann Quenach de Quivillic</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#2395f4" face="Open Sans, sans-serif"><span style="font-size:14.6667px;white-space:pre-wrap"><b>Consultant Senior</b></span></font></p><p dir="ltr" style="line-height:1.8;margin-top:0pt;margin-bottom:0pt"><font color="#6a6a77" face="Open Sans, sans-serif"><span style="font-size:13.3333px;white-space:pre-wrap">17 Rue Claude Chappe - 35510 Cesson-Sévigné</span></font></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><a href="http://www.itlink.fr/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:"Open Sans",sans-serif;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">www.itlink.fr</span></a></p></td></tr></tbody></table><span><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="158"><col width="529"></colgroup><tbody></tbody></table></div></span></div></div></div>

<br>
<p>This
message and any attachments (the "message") are confidential and
intended solely for the addressees. Any unauthorised use or dissemination is
prohibited. As e-mails are susceptible to alteration, 
















IT link (and its subsidiaries) shall not be
liable for the message if altered, changed or falsified.<br></p><p>Ce message et toutes les pièces jointes (ci-après le "message") sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message étant susceptible d'altération, 
















IT Link (et ses filiales) déclinent toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié.</p><p><br></p>