Resize GUI problem
Mostrar comentarios más antiguos
Hello!
Quick question!
If I maximize my GUI, it maximizes. But when I click on a PushButton to refresh graph(new data) it throws me out. It still has the exact size, it just shifts a centimeter in diagonal direction.
Any idea why this is happening?
6 comentarios
Sean de Wolski
el 21 de Dic. de 2011
Do you have a resizefcn defined? Is this gui in GUIDE?
Eric Keller
el 21 de Dic. de 2011
what does, "it throws me out" mean?
Jan
el 21 de Dic. de 2011
How do you maximize the figure? Do you set the position manually to the screen coordinates? What does the function to refresh the graph do exactly? Which operating system and Matlab version are you using?
Slobodan Djordjevi?
el 21 de Dic. de 2011
Naz
el 21 de Dic. de 2011
Set the 'units' property of all objects to 'normalized'. Hopefully that will help
Slobodan Djordjevi?
el 22 de Dic. de 2011
Respuestas (2)
Aldin
el 21 de Dic. de 2011
0 votos
Zdravo
Imaš odmah na početku kada ulaziš u GUI (guide) opciju - GUI with Axes and Menus. Mislim da je to rješenje tvog problema.
1 comentario
Slobodan Djordjevi?
el 21 de Dic. de 2011
Jan
el 22 de Dic. de 2011
0 votos
Sorry, I do not get it. What is the "maximize icon"? The one on the figure border?
Can you post the contents of the callback function started by the "refresh" button?
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!