“lock” edit fields size
4 次查看(过去 30 天)
显示 更早的评论
When I maximize an app (written in app designer) it also extends the size of edit fields. Is there a way to “lock” their size?
4 个评论
Voss
2022-3-4
If different edit fields are in different uipanels, then you could set 'AutoResizeChildren' differently for different uipanels. That would only work if none of the edit fields you want to lock are in the same uipanel as any of the edit fields that should be resized.
If you do have some edit fields that should stay the same size together in a container (i.e., uifigure or uipanel) with some edit fields that should be resized, then I think you either have to write a SizeChangedFcn to do it or maybe you can do it using a Grid Layout Manager.
回答(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!