Is there a way to use "SizeChangedFcn" with "Resize" and "AutoResizeChildren" properties on?

I have a simple app in appdesigner. I have enabled both "Resize" and "AutoResizeChildren" options. Everytime the app is resized I also would like to run a simple function which corrects the position of a text in plot. However, the "SizeChangedFcn" of the figure cannot be used with these settings. Is there anything I could use to substitute the "SizeChangedFcn" functionality? Something with listeners?

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 10 de Jul. de 2021

Respondida:

el 30 de Jul. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by