How to reformat GUI for different devices

2 ビュー (過去 30 日間)
Calabrese
Calabrese 2015 年 8 月 26 日
コメント済み: Calabrese 2015 年 8 月 26 日
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?

採用された回答

Adam
Adam 2015 年 8 月 26 日
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 件のコメント
Calabrese
Calabrese 2015 年 8 月 26 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by