Panel Position not affecting size
2 次查看(过去 30 天)
显示 更早的评论
The issue is in the attached files, the connection2 and connection4 panels do not seem to resize from 10x10 to 20x20 despite changing their position vectors to [x,y,20,20]. Unless I change them to an absurd size like 100 by 100, they stay the same size. I have tried making sure the container was large enough and restarting MatLab. I am new to the App Designer, so if there is a better way to make a drawing in the window besides using uipannels, please let me know. Thank you for the help.
回答(1 个)
Sai Teja G
2023-8-8
编辑:Sai Teja G
2023-10-10
Hi Ty,
I understand that you were not able to see the difference between the sizes when you changed the size of "connection2" and "connection4" from 10x10 to 20x20.
The problem occurs due to the default size of the App Designer window. When you maximize the window and subsequently modify the sizes from 10x10 to 20x20, 30x30, 40x40, and so on, you can easily observe the noticeable difference in sizes between the "connection2" and "connection4" UI panels.
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!