MEL! Eeek!

On 8 April 2014 19:10, Michał Frątczak <[email protected]> wrote:

> 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 (pardon MEL, but python does the same):
>
>
> 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;
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/6f527ace-4c0d-4b94-a8b8-86d673728d99%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/6f527ace-4c0d-4b94-a8b8-86d673728d99%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA30NY8wWBwysw7PEC_%3D-3CUzE9PidEnyor2gL3N7DHkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to