-
refresh UI
Hi Guys, quick question!
I have a script that opens a UI with multiple “textedit” fields that are attached to my text layers within my comps, currently when I open the UI, the textedit fields shows the current text in the text layers. Now, I added to my UI a button that replaces the information of my text layers to something else…. and I would like to have all my textedit fields to refresh and show the current text in the layers without having to close and reopen my UI… Is there a way to do this?
I tried using a function such as:
function updateUILayout(container){
container.layout.layout(true); //Update the container
myWin.layout(true); //Then update the main UI layout
}
But, that updates the layout, not the info within the textedit fields…
Any help will be appreciated! thanks in advance!