Re: Newbie NSView confusion
Re: Newbie NSView confusion
- Subject: Re: Newbie NSView confusion
- From: Cameron Hayne <email@hidden>
- Date: Sat, 04 Oct 2003 14:49:49 -0400
On 4/10/03 1:05 PM, "Sailor Quasar" <email@hidden> wrote:
>
I have a custom NSView subclass which as part of its content sets up
>
several subviews. One, sometimes more, of these is an NSTextView
>
(non-editable, system font, unbordered, no background, left-aligned)
>
whose string value is a single character: '.'
>
>
This is fine and dandy, I spend lines of code setting up all the
>
attributes I listed above... unfortunately, the resultant subview looks
>
nothing like a static text view that I create with IB directly.
>
[...]
>
Which attribute am I forgetting to set, what
>
magical incantation do I have to invoke?
Perhaps if you create a nib file using IB and then look at it using 'nibtool
-a' you will see what attribute you are missing.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.