Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
bkan
Topic Author
Posts: 51
Joined: Wed Nov 06, 2013 8:33 am

edittext scrollable

Sun Nov 01, 2015 10:54 pm

Hello,
I have an edittext with scrollable on true (var textXML = helpMenu_helpText.add ('statictext', undefined,'',{multiline: true,scrolling: true});)
My input is a xml and I change the content of the edittext with a onChange function.

My text has no scrolling bar on the right and I cant read all the text.

My text has a "textXML.maximumSize[1] = 150;" and my window is "helpPanel_fenetre.size = [500,300];"

Any idea?

Thank you!

PS : i am on after effects 2014.2
 
beginUndoGroup
Posts: 77
Joined: Tue Nov 27, 2012 6:41 am

Re: edittext scrollable

Mon Nov 02, 2015 2:36 pm

I couldnt make it work too, but an edit text with properties: readonly true works, and has more or less the same effect

.add ('edittext', undefined,'',{multiline: true, readonly: true});

Xavier.

Who is online

Users browsing this forum: No registered users and 6 guests