sizing a push button
조회 수: 9 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2017년 11월 25일
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
Image Analyst
2017년 11월 25일
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:
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!