Thread seconded from the original (foolish) question "Make Text Wrap In A DzWidget/Dialog/BasicDialog ?" to a new question "does DAZ Script have any way of detecting the user's screen dimensions"
Original (foolish) question "Make Text Wrap In A DzWidget/Dialog/BasicDialog ?"
What the title says, preceded by "How do I..."
Hopefully the answer's really obvious and it's another case of not being able to see the tree for the woods...
var wDlg = new DzBasicDialog;
var wWbLbl = new DzLabel( wDlg );
wWbLbl.text = "Blah, blah, blah, blah, ...ad infinitum..."
If 'text' is long with no <br> then the dialog stretches over the left/right edges of the screen. Anything I try to do with width, minwidth, setWidth, etc affects the dialog but the text doesn't wrap.