code-google-com / dynamica

Automatically exported from code.google.com/p/dynamica
0 stars 0 forks source link

dynamicaUI.mel not showing icons/buttons #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The issue we are now having is with the dynamicaUI.mel 

We get a mostly empty menu, the tabs and headings (dynamicaUI_createFrame) are 
there but it seems to be missing the buttons/controls . 

'dynamicaUI_createWindow;' 

It seems like the dynamicaUI_createFrame part is working, but then the 
rowLayout and iconTextButtons part isn't. 

(The icons are working fine in the shelf, so it should be finding them fine 
here too).

Sorry I'm not strong enough with mel to figure out the exact issue.

Original issue reported on code.google.com by daniel.c...@gmail.com on 3 Feb 2012 at 10:49

GoogleCodeExporter commented 9 years ago
Ah ok, one of our maya bods has figured out the issue, they were displaying but 
at a height of 0, modifying the script to add "-h 100" has it working for the 
most part.

global proc string dynamicaUI_createFrame(string $label, string $annotation, 
int $collapsable, int $collapsed)
{
        return `frameLayout -cll $collapsable -cl $collapsed -mh 3 -mw 6 -w 486 -h 100 -bs "etchedIn" -l $label -ann $annotation`;
}

Original comment by daniel.c...@gmail.com on 3 Feb 2012 at 12:35

GoogleCodeExporter commented 9 years ago
Thanks for the report, fixed in latest trunk.

What version of Maya were you using and on which platform (Windows 7, 64bit 
etc)?

Original comment by erwin.coumans on 10 Feb 2012 at 12:07

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 10 Feb 2012 at 12:08