sizing a push button
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Getty Hill
el 25 de Nov. de 2017
Comentada: Image Analyst
el 25 de Nov. de 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 comentarios
Respuesta aceptada
Image Analyst
el 25 de Nov. de 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 comentarios
Image Analyst
el 25 de Nov. de 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:
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!