How to keep the size aspect ratio of GUI form fixed?
2 次查看(过去 30 天)
显示 更早的评论
Hi all. I am trying to make my GUI figure to be resizable but I need the aspect ratio to be fixed. Is this possible to achieve?
0 个评论
回答(1 个)
Walter Roberson
2011-10-18
You can put in a resize callback on the figure that changes the size to match the aspect ratio you want.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!