In Layout:
sg.Txt('', size=(12,1), font=('Helvetica', 15), key='Text1', justification='left', text_color='green'),
Example:
parm = 123
window.Element('Text1').Update("%.2f" % parm)
I would like to understand how to add a fixed text before and after the variable 'parm' that is written in Text1. For example: Voltage: 123V
Thank you