Panel Position not affecting size

2 Ansichten (letzte 30 Tage)
Ty Clements
Ty Clements am 8 Jun. 2023
Bearbeitet: Sai Teja G am 10 Okt. 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.

Antworten (1)

Sai Teja G
Sai Teja G am 8 Aug. 2023
Bearbeitet: Sai Teja G am 10 Okt. 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!

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by