onresize() when a jsui in resized in presentation mode?

Apr 12, 2013 at 11:43am

onresize() when a jsui in resized in presentation mode?

I seems to me that onresize() is called only if the size of a jsui is changed in Patching Mode. Is there a way to now when a jsui is resized in Presentation mode?

p

#67683
Apr 12, 2013 at 4:37pm

Hi Patrick,

This is currently not supported to have a JSUI different sizes in different views and expect the onresize method to be accurate to anything other than the patching size. This probably won’t change.

However, with mgraphics, you can use mgraphics.size to kind of achieve the ability to ascertain different rects/views.

-Ben

#243492
Apr 12, 2013 at 4:51pm

Many thanks Ben.

p

#243493

You must be logged in to reply to this topic.