How can I create gui compatible in all screen resolutions or display?

3 views (last 30 days)
I am developing gui using GUIDE.I have common problem. I have developed gui in screen resolution of 1920x1200 if I open it in laptop which has resolution of 1366x768,the gui is not working properly.Its alignment was improper and components are missing or overlapped.i'm setting figure and components property units to ('normalized') by programming. Many of them suggested me to set the Units to 'normalized',but I could not solve it by changing the 'Units' setting. Any one can help me in solving.
thank you

Answers (2)

Image Analyst
Image Analyst on 23 Dec 2014
Make sure all the units are normalized. Type control-a to select all the components and set the units property to normalized. This does not seem to get the controls within panels though, so you'll have to do those one at a time.
Even with all that, there can be problems depending on the operating system - like if they have large fonts or small fonts selected. Make sure all your fonts have the same size property, like all "points" or all "pixels" or whatever.
  3 Comments
Image Analyst
Image Analyst on 23 Dec 2014
Check the Position property on all the controls. Copy and paste values that you want to match exactly.

Sign in to comment.


Sean de Wolski
Sean de Wolski on 23 Dec 2014
>>web(fullfile(docroot, 'matlab/creating_guis/designing-for-cross-platform-compatibility.html'))
  3 Comments

Sign in to comment.

Categories

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!