sizing a push button
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Getty Hill
il 25 Nov 2017
Commentato: Image Analyst
il 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 Commenti
Risposta accettata
Image Analyst
il 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 Commenti
Image Analyst
il 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:
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!