Canvas. DrawText with line break problem

Hi, I would like to show a Lable and a Result in the same DrawText procedure within Canvas, instead of having two separate procedures (one below the other)
When I try using \n it has no effect.

Screenshot 2021-12-09 at 17.00.05

Thanks in advance for ant help.

Try to use <br> (HTML Format) instead of \n.

Thanks for your reply but I tried that and
just appears between the two text values.

DrawText does not accept line breaks either \n or <br>. You will need to setup two procedures.

1 Like

I think there is no way of giving a line break for the canvas text....
But you can change the Y position of the text and give the Leg 1 value in it.

Yes, that is what I have done previously further down in the CanvasText procedure. I was trying to stream line it a bit. I won't waste any more time on it.
Alpha2020 and TIMAI2 thanks for your help. this was my first post :+1:

James.

Welcome to the community @rigga81!!