Effacer les filtres
Effacer les filtres

Panel Position not affecting size

1 vue (au cours des 30 derniers jours)
Ty Clements
Ty Clements le 8 Juin 2023
Modifié(e) : Sai Teja G le 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.

Réponses (1)

Sai Teja G
Sai Teja G le 8 Août 2023
Modifié(e) : Sai Teja G le 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!

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by