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

18 次查看(过去 30 天)
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?

回答(1 个)

Pavan Guntha
Pavan Guntha 2021-7-30
Hi Peter,
Please follow the instructions in the following MATLAB Answers page:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by