I have a function that is made up of two main parts (I’ll call them A and B). Part B needs to run when part A is fully done with its layout changes. However, there is no “part A is done” signal, and thus I’ve been calling a validateNow() before part B runs. This works but seems awfully inefficient – was wondering if there are any other tricks to force an immediate measure or something along those lines or if I’m stuck.
thank you!
I have a function that is made up of two main parts (I’ll call
Share
You can invoke part B from within
updateDisplayList().For that you need to introduce some flag:
Then within function after finishing part A:
And then: