Difference between position of elements of GUI before and after open it in GUIDE

1 view (last 30 days)
I'm designing a GUI with GUIDE. When I open a window in GUIDE and after that run it, position of elements like panels,radio buttons and etc are difference with when I run MATLAB and directly run a GUI from .m file. It is a confusing problem because the real positions are that I'm running from .m file.
All elements of window are nearly 1cm righter than running it directly and I have a little vertical difference between these two. I should design a window and after that close MATLAB and run it directly too see the real positions!. If i directly open it from .m file after using GUIDE, there isn't any difference with running from GUIDE and run from .m file. I should only reopen MATLAB to see the difference.
What is your idea about this problem ? How can I solve it?

Answers (0)


Find more on Migrate GUIDE Apps 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!