Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Multiline text alignment in UI

$
0
0

Hi guys. Newby here. Sorry if this is silly questtion, but I am getting bold solving this with no prevail.

 

I have a multiline text. But it's aligned to the left. Any way to center align it?

 

<CODE>

var aboutWin = new Window("palette", "About", undefined);

var st = aboutWin.add("statictext", undefined, "", {multiline: true } );

st.text = "Some long long long text paragraph here";

st.characters = 30;

</CODE>

 

How do I center align it?

 

Thank you.


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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