sizing a push button
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Getty Hill
am 25 Nov. 2017
Kommentiert: Image Analyst
am 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 Kommentare
Akzeptierte Antwort
Image Analyst
am 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 Kommentare
Image Analyst
am 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:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!