Thanks for the reply, I think I found my problem though. It had to do with having an axes which was a child of an HBox that was embedded in a bunch of VBox & HBox's and setting the selectedChild to a tab where the axes wasn't. I was able to fix it by making sure the VBox & HBox's units were set to normalized and the position set to [0 0 1 1].
Here is an example though to illustrate. The first time you run it you'll notice that 'Page 2' appears empty. If you run it again with the last line commented out then it appears to work fine. If you run it one last time with the last line uncommented and the first HBox with the units as normalized and position [0 0 1 1] (uncomment line 7, comment line 8) then you can start on the first Page and still have Page 2 work properly.
Awesome Toolbox! I've enjoyed looking through the code to help me in my own OOP work in MATLAB.
I found a bug with using Axes and the TabPanel. If you have an Axes on a tab and you switch to another that has a 'spacing' where the axes is in the other tab then you can see the axes. I don't know if this is related to the clipping bug w/ UIPANELS or not but I thought I would put it out there.
I would like to associate my uiextras.Panel with a window that displays some help text. I struggle to find a way how this can be done. I guess I could add this as a child to the panel, but since all panels look differently it is difficult to come up with a homogeneous way of doing this.
The simplest would be to add a callback to the title of the panel or, perhaps more elegant, add a button with a question mark all the way to the right of the top of the panel, i.e. on the opposite side of the title text, that has a callback to the help window. Is any of this possible?
When I try to load from file a struct which has uiextras fields, I get warning messages because the Delete fcn is called where obj.UIContainer returns empty. I think you need to first check whether obj has this field.