HTML help - changing font size for displayed variable in custom status pane

Nathaniel.Spence
19 Apr 2020, 15:35

Hi

Another bit of help required please:

How do I change the font size for a displayed variable in a custom status pane? I'm struggling to make this work:

html= Access Panel.timer </font size>
JS.setCustomStatus (html)

...which prints 'Access Panel.timer' in the required font size, rather than the value of 'Access Panel.timer' (which is what I want to show).

Thanks!


Forgewright
19 Apr 2020, 21:29

<small>whatever</small>

I use this on the 'status attributes' of my default status pane.
May work with yours but I'm just guessing. Probably no help...


Nathaniel.Spence
19 Apr 2020, 22:17

Thanks...but I just figured it out!

"font size = 60>"+Access Panel.timer+"</font size>"

Not sure why I couldn't get it to work the first time, but now it does.


Forgewright
20 Apr 2020, 01:25

👍 Great to figure things out for yourself. Be sure to check back because the pros around here might share a better way of doing it.