Hi.
In every version before 2019.3 this line of script is working:
on _rollout resized size do
(
print ( size as string)
)
when I resize vertically rollout floater window I got point2 value with current height.
In Max 2019.3 this event is not triggering at all.
I have read the docs and this event is present in very first rollout so it is correctly placed ( works in max 2018 and earlier )
Am I missing something here ?
Any help is much appreciated.
Adam
Replies
And to make it work you have to add
autoLayoutOnResize:truefor each rollout for embedded in subrollouts or to rollout floater when your rollouts are not embedded.
This additional option will cause compilation errors in every previous Max version. YAY !
with some subrollouts in it.
if (MaxVersion())[1] >= 21000 do _rollout.autoLayoutOnResize = true
When it comes to nesting rollouts inside of subrollouts, and those nested also hold another 4 rollouts each.... it is not that easy to set it up.
So I just switched from rollout floater to dialog with subrollouts. Works perfectly and looks the same.
And is 100% compatible with every Max version to this date ( for as long as Atdsk will not 'improve' anything else )
Thanks for an idea anyway