Hi Ben,
I have been trying to make use of TabPanels for visualising a dataset. I can create and plot to several tabs each containing a flexible grid of axes:
TP=uiextras.TabPanel('Parent',figure)
for p = 1:Ntabs;
GF=uiextras.GridFlex('Parent',TP)
for q = 1:Naxes
axh(p,q)=axes('Parent',GF);
end;end
...
plot(axh(p,q),...)
Unfortunately if I make the figure reasonably large on the screen when I change tabs the axes on the old tab are not fully hidden and obscure the axes on the new tab (basically it looks a mess). If I slightly resize the figure window then the view updates and the axes are displayed correctly. Normally the first few times I change tab things work correctly.
I am using GUIlayout v1p13 on R2013a on win7.
Any help including a work-around would be greatly appreciated (executing refresh(gcf) doesn't help)!
Regards,
Colin
Ben,
I actually had to change line 334 of Container.m to "position = [-10000 -10000 100 100];".
It seems 10/10 width/height was crashing the wiggle axes functions by giving <0 size to the axes contained in my box panels.
Hi Yannick. This is easy enough to do. I'll make sure it's in the next update. If you would like to test it before then, email me using the author link above and I'll send you a patch.
Thanks Ben, I like to remove both borders for a more minimalist look. When I don't need the extra functionality I replace the BoxPanel by a VBox with two elements which allows me to have no borders.
Hi Yannick, thanks for that fix – I'll make sure it's updated in the next version.
There isn't a definitive list of the default properties, I'm afraid. PanelBox will take notice of the default title colour, but that's about all.
Which border was it you wanted to remove, the one around the title, the one around the contents, or both?
Comment only