Re: WidgetsTemplets.xc/Widgets.xc

Published by Hawg on

#112208
Hawg
Member
6 hours ago, Racthndrdrake said:

how would I add a picture along with user name

You must direct it to a folder with you .png file in it.

That’s what the format line is doing.

“enabled”: true
    // layer – “bottom”, “normal” (default), “top”.
    “layer”: “normal”,
    “type”: “extrafield”,
    “formats”: [
      { // Event Handler
        “updateEvent”: ” ON_PANEL_MODE_CHANGED”,
        “x”: 0,
        “y”:50,
        “screenHAlign”: “center”,
        “format”: “<img src=’cfg://HAWGS/img/hawg.png’>”
      },