MATLAB Answers

Problem with GUI resolution issues.

6 views (last 30 days)
Bharath on 13 Feb 2016
Commented: Bharath on 18 Feb 2016
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)


Sign in to comment.

Answers (1)

sam0037 on 17 Feb 2016
If you consider using UNITS as NORMALIZED rather than CHARACTERS then this should resolve the issue. Also, do not deactivate the RESIZE option.

  1 Comment

Bharath on 18 Feb 2016
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!