Ok, as indicated in this MATLAB Answer from 2017, the 'AutoResizeChildren' of the UIFigure must be put it in off.
In the SizeChangedFcn explication, of the UI Figure Properties, of the MATLAB Help Center, it is also indicated.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!