How is DefaultFigurePosition set for apps?
6 次查看(过去 30 天)
显示 更早的评论
I have set my DefaultFigurePosition to a particular setting. Ordinary plot figure windows obey the setting, opening in the desired location. However, apps (both from GUIDE and appDesigner) open at a different location. Where is the default figure position of app figure windows controlled from?
0 个评论
采纳的回答
Rishabh Singh
2021-10-8
Possible workaround for this would be by using “Component Browser” to set the “Position” parameters for “app.UIFigure”.
Additionally, you can also set the position using
set (app_instance.UIFigure , 'Position', [20, 20, 640, 480]);
All the above methods will set the “position” for the current App only.
Hope this helps.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!