Re: NSWindow resizing hack?
Re: NSWindow resizing hack?
- Subject: Re: NSWindow resizing hack?
- From: Wade Tregaskis <email@hidden>
- Date: Tue, 10 Jun 2003 10:27:57 +1000
If you just have a lot of standard views that makes things slow,
perhaps you can either turn off subview autoresizing temporarily for
the window content view ("setAutoresizesSubviews:"), or remove the
whole view hierarchy from the window while it is being resized, and
then resize and reinsert it when the resize is done? Both options
would be a tad bit ugly though.
Not if you take a snapshot of the window, prior to resizing, and put
that in as the window content. If your content is not flowing (e.g.
text), then this would work well enough - resizing would be snappy
because you're just scaling a bitmap, and when you release the window
at it's new size, it redraws everything in proper detail.
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.