How to detect the changes in figure size to invoke a callback function?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kouichi C. Nakamura
le 18 Août 2017
Commenté : Kouichi C. Nakamura
le 18 Août 2017
I noticed that design and layout of a figure can be compromised when the figure's size or dimension is changed.
In most cases, use of 'Units' = 'normalized' can work, but not always.
For example, UI control buttons and sliders can be squashed by 'Units' = 'normalized'. To keep the size of uicontrol objects practical, you would have to change the 'Units' to 'px' and fix the size of buttons and sliders and then set them back to 'normalized'.
I wonder if this is possible with a callback function for figure object. Can a figure object detect its own change in size and invoke a callback function?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!