Text fields doesn't draw in a custom view
Text fields doesn't draw in a custom view
- Subject: Text fields doesn't draw in a custom view
- From: Ivan Myrvold <email@hidden>
- Date: Sun, 19 May 2002 12:50:20 +0200
I have a fairly complicated view hierarchy, in a nib file.
I have a window with a custom view, contained in an NSScrollView..
I have a view defined in that nib file consisting of an NSImageView, and
some NSTextField's dropped on top of that.
In my code, I am setting the view in the window with the call:
[oscrollView setDocumentView:omyview]
[omyview scrollPoint:punkt] // just to scroll the view to the top
The window is showing the image contained in the "omyview" NSImageView
just fine, but the text fields on top of that view doesn't show at all,
although by hovering the cursor over where the text fields are supposed
to be, changes the cursor to the correct icon (I-beam, or whatever it's
called). So the text fields are there, but why doesn't they show up.
Clicking inside the text fields only results in an alert sound.
I have put the text fields in front with the "Bring to front" command in
the IB's Layout menu, and connected all the outlets.
Ivan
_______________________________________________
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.