sizing a push button
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Getty Hill
le 25 Nov 2017
Commenté : Image Analyst
le 25 Nov 2017
I have a png file I want to display and a pushbutton but I can't figure out how to make the push button the size of the image.
0 commentaires
Réponse acceptée
Image Analyst
le 25 Nov 2017
Did you already try the Mathworks solution: https://www.mathworks.com/matlabcentral/answers/98593-how-do-i-display-an-image-on-a-gui-component-eg-pushbutton
4 commentaires
Image Analyst
le 25 Nov 2017
Set the Position property. Easily done if you're using GUIDE. You can just click and drag the handles to make it whatever size you want or to have it be in a different location. See the tutorial:
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks 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!