simulating a sheet?
simulating a sheet?
- Subject: simulating a sheet?
- From: Dave Yost <email@hidden>
- Date: Wed, 23 Apr 2003 16:47:18 -0700
For weird reasons, not to violate guidelines, I am trying to simulate a sheet. First I tried positioning a borderless window just right, setting its height to, then setting its height to full size. Works almost OK, except that the 'sheet' window is resizing as its title bar exists and is transparent. In other words, it grows down from the top of the parent window's title bar (look OK when it's done resizing, tho).
Then I tried making a window whose opacity is 0, then moving an NSView down into it. The window is opaque anyway, and I don't relish animating the move by hand (isn't there code somewhere to allow moving a view using Cocoa's ease-in/ease-out motion code?).
Anyone done this?
Thanks
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.