• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWindow resizing hack?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow resizing hack?


  • Subject: Re: NSWindow resizing hack?
  • From: Wade Tregaskis <email@hidden>
  • Date: Sun, 8 Jun 2003 19:00:43 +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.

References: 
 >Re: NSWindow resizing hack? (From: j o a r <email@hidden>)

  • Prev by Date: Saving state of NSOutlineView
  • Next by Date: Re: NSWindow resizing hack?
  • Previous by thread: Re: NSWindow resizing hack?
  • Next by thread: Re: NSWindow resizing hack?
  • Index(es):
    • Date
    • Thread