Resize GUI problem
显示 更早的评论
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 个评论
Sean de Wolski
2011-12-21
Do you have a resizefcn defined? Is this gui in GUIDE?
Eric Keller
2011-12-21
what does, "it throws me out" mean?
Jan
2011-12-21
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?
2011-12-21
Naz
2011-12-21
Set the 'units' property of all objects to 'normalized'. Hopefully that will help
Slobodan Djordjevi?
2011-12-22
回答(2 个)
Aldin
2011-12-21
0 个投票
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.
Jan
2011-12-22
0 个投票
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?
类别
在 帮助中心 和 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!