Clear Filters
Clear Filters

How to reformat GUI for different devices

2 views (last 30 days)
I have a GUI I created on my laptop but when I load it on others the sizing is all off. Is there a way I can load it to any computer and have it automatically format itself to be visually appealing as the one I created on my laptop?

Accepted Answer

Adam
Adam on 26 Aug 2015
Using 'normalized' units generally helps to do this, but only if you do it for all components, panels and the main figure. This usually happens for you in a GUIDE-based GUI if you choose the 'Proportional' resize option from the relevant menu in GUIDE (I can't check at the moment exactly what the menu option is called, but there aren't many of them in GUIDE so it is easy to find).
That still isn't ideal as normalized units can cause some problems (such as a bug when you have nested panels causing components within these to disappear).
It also doesn't resize text as this has its own setting so you can get some odd looking UIs with extra big text when the UI components have shrunk for a smaller screen.
  1 Comment
Calabrese
Calabrese on 26 Aug 2015
Ok thank you, I tried it and loaded on a different computer and it completely changed the format. Definitely wouldn't recommend trying to reformat.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!