Re: How can I hide an NSView properly?
Re: How can I hide an NSView properly?
- Subject: Re: How can I hide an NSView properly?
- From: Markus Hitter <email@hidden>
- Date: Thu, 28 Feb 2002 17:22:26 +0100
Am Donnerstag den, 28. Februar 2002, um 14:30, schrieb Gerben Wierda:
This will probably work, but I think this fails when the
superview is resized when the indicator is hidden. So this
method will probably mean that I have to give up on a resizable
window (or do a lot of calculation).
Replace your indicator with an empty view which will track the
resizing for you. Or, put an empty NSView between the indicator
and the background (might be not too easy to do in IB). This,
you can show your indicator always in the same place relative to
the intermediate view.
I haven't been able to find hide/unhide methods for views (or
even controls). Am I overlooking something?
Aqua guidelines tell you to avoid hiding parts of the user
interface. An progress indicator is on the border where minds
differ. Compare the chasing arrows in Mail.app with them of
OmniWeb.app
Have fun,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.