Re: Announcement + NSSegmentedCell drawing question
Re: Announcement + NSSegmentedCell drawing question
- Subject: Re: Announcement + NSSegmentedCell drawing question
- From: Daniel Furrer <email@hidden>
- Date: Fri, 10 Jul 2009 13:02:37 +0200
Forwarding because I just noticed we're not on the list anymore. You sent
your reply to me directly.
On Fri, Jul 10, 2009 at 12:59 PM, Daniel Furrer <email@hidden>wrote:
> Thanks for your reply.
>
> So I'm drawing in an image but I just tried to draw on a view (I put the
> same calls in the drawRect: method) but still have the same problem.
> What works is to create a NSSegmentedControl and draw that (using
> drawRect), so I think I will just have to do that. But I'm still wondering
> why it doesn't work to draw the cell directly.
>
> I'm also attaching a screenshot of how it looks like (the control in the
> middle of the window - you can ignore the rest)
>
> Daniel
>
>
>
> On Thu, Jul 9, 2009 at 6:13 PM, tyler <email@hidden> wrote:
>
>> Oh, sorry. Missed that you are trying to draw it into an image... Most
>> nscells expect to be in an nscontrol or nsview of some kind... Guess I
>> don't really have an idea to help ... Sorry.
>>
>> Can you draw a rect at the same coords and see all of it ?
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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