Problem with GUI resolution issues.
1 次查看(过去 30 天)
显示 更早的评论
I wrote a program to build my GUI. I used character as my units for all the panels,uicontrols and the main GUI figure too. I fixed the GUI to some size and deactivated the resize option. Now when I run the GUI on projector and other display monitors I get a completely misaligned GUI window. However, it works good in my current display. After reading the MATLAB documentation I was of the impression that using character units is useful for non-resizable GUI window.In my case this doesn't seem to work. Could someone help me with the problem.? Thanks in advance.
Screenshot of GUI in my monitor
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154940/image.jpeg)
Screenshot of GUI in other monitor of high resolution ( Don't remember the monitor resolution)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154943/image.jpeg)
0 个评论
回答(1 个)
sam0037
2016-2-17
Hi,
If you consider using UNITS as NORMALIZED rather than CHARACTERS then this should resolve the issue. Also, do not deactivate the RESIZE option.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!