Expand GUI in App UIFigure by a button for to extend the showing
Ältere Kommentare anzeigen
Hi,
I'm trying to expand down part of the UIFigure of a MATLAB App by a button push.
As example:
from:
- to -> 
- to -> 
I tryied to change the weight of the figure but it does not work properly:
% IN THE BUTTON CALLBACK
posicio_actual = app.UIFigure.Position; % Exemple : 666 346 588 389 [posX, posY, amplada, llargada]
posicio_actual(4) = posicio_actual(4) + 150;
app.UIFigure.Resize = 'off';
app.UIFigure.AutoResizeChildren = 'off';
app.UIFigure.Position = posicio_actual;
But this is the result:

The below part does not show.
Thank you!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Develop Apps Programmatically finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!