Filter löschen
Filter löschen

How to reformat GUI for different devices

2 Ansichten (letzte 30 Tage)
Calabrese
Calabrese am 26 Aug. 2015
Kommentiert: Calabrese am 26 Aug. 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?

Akzeptierte Antwort

Adam
Adam am 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 Kommentar
Calabrese
Calabrese am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Seismology finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by