Positioning bug in GUIDE

1 vue (au cours des 30 derniers jours)
Vincent
Vincent le 19 Jan 2017
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:
However, when I run the GUI, it looks like this:
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.

Réponses (1)

Akhilesh Thakur
Akhilesh Thakur le 27 Juil 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.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by