Re: code for drawing an NSTextField to a panel window ...
Re: code for drawing an NSTextField to a panel window ...
- Subject: Re: code for drawing an NSTextField to a panel window ...
- From: "I. Savant" <email@hidden>
- Date: Thu, 12 Mar 2009 13:00:21 -0400
On Wed, Mar 11, 2009 at 12:11 PM, vinai <email@hidden> wrote:
> where rawButtonRect is an NSRect, contectRect defines the panel window I am trying to draw to, and rawTextField is of * NSTextField type. mainPanelView is the view for the mainPanel window, and rawTextField is just one of the subviews I am trying to add to the that view. However, the window remains plain, and I am at a loss as to what I missed ...
I can't tell, because you didn't include all the relevant code.
How did you create mainPanelView? What is its frame? Who is self (I
suspect it's an NSWindow subclass, but that's an odd place to put code
to build its contents - it'd make more sense to put that in a window
controller if anywhere).
--
I.S.
_______________________________________________
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