Resizing windows *and childs* with animate: YES
Resizing windows *and childs* with animate: YES
- Subject: Resizing windows *and childs* with animate: YES
- From: Yann Bizeul <email@hidden>
- Date: Tue, 11 May 2004 17:38:09 +0200
Hi list,
I used to use AJRScrollView to make NS(Text/Table)View look clean when
in a semi-transparent window.
It worked fine, but users using Thousands of colors did have problems
with this.
So I decided to find a better solution and people told me about
childWindows to be an issue.
So What I did is have my NSTextView with a transparent background and
all stuffs around on a window, and I created a childWindow with just my
Background.
It works not so bad, the only problem I have now, is resizing both in
the same time : I use
[ myWindow setFrame: frameRect display: displayFlag animate:
animationFlag ];
but this call is synchronous, and my windows does resize one after the
other.
Question are :
How to get the animated resize synchronous with multiple windows ?
If this is not possible, what would be the overhead of making visual
effect by myself with multiple calls to setFrame ... animate: NO
One more thing :
How would you people, handle auto-resizing of items when they get out
of bounds. When my window gets its smallest side, items inside are
forced to go out of bounds, and when I set it to big size again, those
items are not in the same place. Sorry if I'm not clear !
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
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.