Positioning bug in GUIDE
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all,
I have created a large GUI using GUIDE, including nested panels. When running the GUI, the positioning of some elements is incorrect.
An example.
In GUIDE, everything seems fine:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159958/image.png)
However, when I run the GUI, it looks like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159959/image.png)
As you can see, the positioning of the buttongroup itself is fine, but the positioning within the buttongroup (shown in red) is incorrect.
I have the same problem when switching from R2015b to R2014b: in R2015b everything looks fine in GUIDE, but when opening the same GUI through GUIDE in R2014b, the positioning is completely incorrect.
In the past, this issue has been reported earlier, see e.g. here. A temporary workaround was proposed there, but that does not solve my problem.
Is there a solution yet?
ps: units are set to "characters", and the GUI is non-resizable. The MATLAB version I used was R2014b.
Thanks in advance.
0 Commenti
Risposte (1)
Akhilesh Thakur
il 27 Lug 2017
Are these buttons combination of multiple patches. Because what I can see in 1st figure the capacetit options dwon line is missing. This means that your panels are overlapping. This happens when you run the gui and it will show the top most panel. Check by increasing the space between elements for clear understanding. I went through this problem so I expanded the gui temporarily and then saw what's going wrong. I hope this method will work for you.
0 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!