Re: Artifacts in toolbar
Re: Artifacts in toolbar
- Subject: Re: Artifacts in toolbar
- From: Sam Stigler <email@hidden>
- Date: Sun, 13 May 2007 19:42:50 +1000
An update to this problem: It only occurs after the window has been
resized.
Sam
On May 13, 2007, at 2:58 PM, Sam Stigler wrote:
Hi,
I'm trying to use a custom view (two, actually) in my toolbar, and
I'm getting really weird redraw artifacts (maybe 5-10 pixels wide)
on either side of the toolbar when I toggle it on. Does anyone
have any idea why this could be? What are the chances it's a bug?
For a screenshot of what's happening, see http://homepage.mac.com/
sstigler1985/toolbarArtifacts.png. I at first tried to have the
NSSegmentedControl on its own (without its enclosing custom view),
but that brought an assertion error at runtime. I tried to debug
this by limiting the width of the window to the width of the
toolbar (so it wouldn't have to redraw as much), but that didn't
fix the problem. Some code I think might be relevant can be found
at http://homepage.mac.com/sstigler1985/toolbarCode.html.
Thanks,
Sam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden