Re: Subviews
Re: Subviews
- Subject: Re: Subviews
- From: Andy Lee <email@hidden>
- Date: Fri, 24 Jan 2003 10:06:43 -0500
At 12:27 AM -0700 1/24/03, Clark Mueller wrote:
Mmm, perhaps I should have been more specific. I'd prefer sample
code. The documentation for NSView is not working for me
Under "Programming Topics" there is a link to a topic called "Drawing
and Views":
<file:///Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/DrawViews/index.html>.
The relevant concepts are:
* distinction between a view's frame and its bounds (for positioning
purposes, you care about the frame)
* orientation -- which corner of the view is the origin, and whether
the view is using a "flipped" coordinate system
* setting autoresize behavior of subviews programmatically (see
-setAutoresizingMask:).
Maybe you've already looked there, but I thought I'd mention it just in case.
but when I've done all of the views programatically, it has resulted
in an empty white spot.
How about posting the code you are using that doesn't work? The
first thing to look for is whether you are passing the right values
in your -setFrame: messages.
--Andy
_______________________________________________
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.
References: | |
| >Re: Subviews (From: Clark Mueller <email@hidden>) |