How to reformat GUI for different devices

2 visualizaciones (últimos 30 días)
Calabrese
Calabrese el 26 de Ag. de 2015
Comentada: Calabrese el 26 de Ag. de 2015
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?

Respuesta aceptada

Adam
Adam el 26 de Ag. de 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 comentario
Calabrese
Calabrese el 26 de Ag. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by