Quantcast
Channel: Adobe Community : Unanswered Discussions - Photoshop
Viewing all articles
Browse latest Browse all 74445

Script UI: multiline text

$
0
0

I'm running Windows and having problems creating a script UI with multiline static text

 

var reminder = "Welcome to the jungle\n\nWe've got fun 'n' games\n\nWe got everything you want"
var dlg = new Window ("dialog");
dlg.add ("statictext", undefined, reminder);
dlg.center();
dlg.show ();

 

I've tried \n and \r but the text isn't wrapping. Any ideas?


Viewing all articles
Browse latest Browse all 74445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>