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

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)

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

thank you. But it still has spacing issues.some components are a bit overlapping.It resolves if I give more spacing between components but gui looks a bit different in different resolution screens
Check the Position property on all the controls. Copy and paste values that you want to match exactly.

Sign in to comment.

>>web(fullfile(docroot, 'matlab/creating_guis/designing-for-cross-platform-compatibility.html'))

3 Comments

thank you.I was following the cross platform compatibility setting.so that I have set the 'Units' to 'normalized',but its not working aptly as I mentioned some overlapping's issues
thank you for reply.It is working fine.

Sign in to comment.

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 22 Dec 2014

Commented:

on 28 Dec 2014

Community Treasure Hunt

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

Start Hunting!