Custom Tip with Image

Is there any way to make a custom tooltip that can include an image?

Thanks.

Comments

  • YudinEdYudinEd Posts: 90
    edited August 2017

    Try in text to add image in Base64 code. .I do this when I create  tooltips  in QT designer (UI files) for DAZ scripts.

    I think, it looks  in DAZ studio too  -   <img src=" Base64 code here....">

    Post edited by YudinEd on
  • RiverSoft ArtRiverSoft Art Posts: 6,371

    Thank you for the hint!  I hadn't realized that the tooltip could include html.  That made it easy.

  • YudinEdYudinEd Posts: 90
    edited August 2017

    Hm....cheeky

    Tooltip in DAZ studio by script with Base64 code.

    Note - in string there are 2 quotation marks! You must use different  " and '

    wCancelBtn.toolTip = ( '&lt;img src="data:image/jpeg;base64,/........."&gt; Your text')

     

    Post edited by YudinEd on
Sign In or Register to comment.