How to reformat GUI for different devices

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by