Clear Filters
Clear Filters

Panel Position not affecting size

1 view (last 30 days)
Ty Clements
Ty Clements on 8 Jun 2023
Edited: Sai Teja G on 10 Oct 2023
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.

Answers (1)

Sai Teja G
Sai Teja G on 8 Aug 2023
Edited: Sai Teja G on 10 Oct 2023
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!

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!