Problem with GUI resolution issues.

1 次查看(过去 30 天)
Bharath
Bharath 2016-2-13
评论: Bharath 2016-2-18
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
Screenshot of GUI in other monitor of high resolution ( Don't remember the monitor resolution)

回答(1 个)

sam0037
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.
  1 个评论
Bharath
Bharath 2016-2-18
I did try this option in the very beginning. Using normalized units making my text appear wierd. So I prefered using the characters after reading the MATLAB documentation where it says, charcater units are good for non-resizebale windows.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by