Page 1 of 1

Drawer problems on OS X

Posted: Sat Mar 21, 2009 2:28 am
by massung
I apologies if this is somewhere on these forums, but I haven't found it, and I've tried everything I can think of. ;)

I wanted to try out the drawer command, and everything is working perfectly. However, after doing my little test, I can't seem to get back to a mode where I can edit my substack any more. I've tried closing the stack, setting type mode back to 1 (edit stack), and many other things. But, all to no avail. It's still just a drawer off my main stack window and I can't even edit the controls inside it.

Any help is much appreciated.

Thanks!

Jeff M.

Posted: Sat Mar 21, 2009 3:43 am
by Obleo
You can open the application browser (found in tools menu), and double click on the stack that is the drawer. That should open it back as a simple stack.

Posted: Sat Mar 21, 2009 4:25 am
by massung
A thousand thanks!

Jeff M.

Posted: Sat Mar 21, 2009 4:25 pm
by massung
One more problem I'm having with drawers. If I resize the parent stack while the drawer stack is closed (say, making it bigger), then I open the drawer, the drawer size isn't automatically adjusted to be as large as the parent stack.

Setting the height of the drawer card or stack doesn't work before I open it. Is this just a bug or is there something I can do to fix this with the geometry properties or something else?

Thanks again!

Jeff M.

Posted: Mon Mar 23, 2009 7:58 am
by Obleo
You could do something like this, to solve such an issue.

Basically get the card height of the parent (or main) stack and set it to the size of the drawer stack when you send the message to open the drawer.

Code: Select all

put the height of card "card_name_of_parent_stack" of stack "Parent_Stack_name" into tTargetH
set the height of stack "Drawer_Stack_name" to tTargetH
drawer stack "Drawer_Stack_name" at right of stack "Parent_Stack_name"
Hope this helps,

Happy Scripting :)