- Is their Visibility enabled?
- Are the positions defined in the correct units? E.g. [10, 10, 40, 20] looks nice in 'pixels', but is invisible in 'normalized' units.
- Does the background of the UIPANEL cover the buttons? (I'm not sure if this is possible at all, but in the real life "invisible" things are usually only out of view or cover by other things.)
where my buttons disappeared in GUI *fig????
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I created a GUI with gui guide. I added some radiobuttons on the uipanel. this panel and the buttons appear in the M-file but do not appear in the gui (they do appear in the Object Browser) but I can't see them.
How to restore that I'll be able to see them once again in the *.fig?
thanks,
[EDITED, Jan] Copied from answer section] (please add information about your question by editing the question, noit as answer:
I did tried to cut and paste all objects from the GUI That I'm working on to a new GUI and I saw my missing object there but when I return my mu GUI these objects are missing.
0 个评论
回答(1 个)
Jan
2012-7-12
Look in the properties of the radio-buttons:
2 个评论
Jan
2012-7-12
Comment by Micheal (please post comments as comments, not as answers):
Jan,
1. The visibility enabled. 2. The units are in 'pixels' 3. I'm not sure what you mean - please explain.
Jan
2012-7-12
The uicontrol's are displayed in a specific order. When the radio buttons are drawn at first, and the uipanel is drawn afterwards with not "none" as background color (not sure if this is possible, I do not have Matlab at the moment), the buttons are hidden. So try to set the uipanel backgorund color to 'none' or use a method to move the button to top (programmatically this would be uistack()).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!