I've got a nested tabLayout that has problems with displaying it's content.
The layouts hierarchy looks like: window -> tabLayout -> paneLayout -> tabLayout -> paneLayout -> textScrollList
After showing the window, the active tab is empty, and I have to switch to other tab to refresh.
This is a big problem when i want to draw only one outer tab and one inner - there's no way to refresh.
Here's a demo:
proc test_tabLayout()
{
window;
tabLayout;
for($i=0; $i<5; ++$i)
{
paneLayout;
tabLayout;
for($j=0; $j<5; ++$j)
{
paneLayout;
$textScrollListUI = `textScrollList`;
for($k=0; $k<5; ++$k)
{
string $item = ($i+1)*($j+1)*($k+1);
textScrollList -e -a $item $textScrollListUI;
}
setParent..; // to inner tab
}
setParent..; // to outer pane
setParent..; // to outer tab
}
showWindow;
}
test_tabLayout;