• 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
NSWindow background image tiled from top-left corner?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow background image tiled from top-left corner?


  • Subject: NSWindow background image tiled from top-left corner?
  • From: Scott Ruda <email@hidden>
  • Date: Sun, 19 Sep 2004 11:57:00 -0700

How can I get a window to have a background image which is tiled and when the window is resized it grows from the top-left corner instead of the bottom-left?

Currently I am doing this, but it tiles from the bottom-left, which looks wrong when the window is live-resized:

[window setBackgroundColor:[NSColor colorWithPatternImage:[NSImage imageNamed:@"walnut.gif"]]];


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Develop a plugin for Final Cut Pro
  • Next by Date: Re: NSWindow background image tiled from top-left corner?
  • Previous by thread: Re: Develop a plugin for Final Cut Pro
  • Next by thread: Re: NSWindow background image tiled from top-left corner?
  • Index(es):
    • Date
    • Thread