Expand GUI in App UIFigure by a button for to extend the showing
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Develop Apps Programmatically dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!