Re: Embedding a custom view within NSScrollView
Re: Embedding a custom view within NSScrollView
- Subject: Re: Embedding a custom view within NSScrollView
- From: Ricky Sharp <email@hidden>
- Date: Thu, 30 Dec 2004 20:21:19 -0600
On Dec 30, 2004, at 7:14 PM, Tommy Nordgren wrote:
I'm learning cocoa. I've encountered a problem that I don't know how
to handle:
I'm creating a custom view class in Interface builder, and dropping a
copy inside an
NSScrollView. For some reason the top om my view is not drawn. The
missing area is as wide as a scrollbar. The lower and right edges
overlaps the area where a scrollbar should be,
and n scrollbars is drawn
Any ideas how I can fix this?
When you say "dropping a copy inside", what exactly are you doing?
In IB, you can just drag over the custom view to your window/panel and
size it to what you need. Make sure it is selected, and then select
the "Layout | Make subviews of | Scroll View" menu item.
You should then be able to resize the scroll view and set its other
attributes.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden