NSView, scrolling colorWithPatternImage
NSView, scrolling colorWithPatternImage
- Subject: NSView, scrolling colorWithPatternImage
- From: Duncan Campbell <email@hidden>
- Date: Sun, 10 Apr 2005 12:24:28 +1000
Hi folks.
I'm trying to create a custom toolbar at the top of a window using an
NSView that has it's size set it to stick to the top of the window (and
auto-resize sideways).
I'm filling it with a pattern using [NSColor colorWithPatternImage:
which is working correctly, however when I resize my window on the
vertical (i.e. up and down), then the pattern in the NSView seems to
scroll.
Is there any way I can "lock" the image or turn off this behavior?
regards,
---------------------------------------------------------------
Duncan Campbell
http://www.duncanandsarah.com/duncan
---------------------------------------------------------------
Counting in binary is just like counting in decimal -- if you are all
thumbs.
-- Glaser and Way
_______________________________________________
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