sizing a push button
7 views (last 30 days)
Show older comments
Getty Hill
on 25 Nov 2017
Commented: Image Analyst
on 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 Comments
Accepted Answer
Image Analyst
on 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 Comments
Image Analyst
on 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:
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!