Hi Dojo,
I have a generic script that I use to show a confirmation message. As you can see in below code the script only has one label and two button widgets.
Is there a way that the provided text automatically wraps so that the user doesn't need to scroll?
Hi Jens, I always use this code to wrap the text after a specific number of characters.
Usage:
var wrapped = WrapText.Wrap(text, 150);
Hi Jens
I think the MaxWidth property of the Label class can be used to achieve this.
Kind regards
Hi Michiel, I’ve tried the different width combinations on Dialog and Label level without any success.
Works as a charm. Thank you!