addSubview: and positioning at the bottom of a NSWindow
addSubview: and positioning at the bottom of a NSWindow
- Subject: addSubview: and positioning at the bottom of a NSWindow
- From: Stefano Pigozzi <email@hidden>
- Date: Mon, 3 Aug 2009 20:51:15 +0200
Hello,
I'm trying to do something simple, I have a NSWindow containing a
NSTableView that resizes with the with the window. When I click on one
element I want to display additional information in a subView that I'm
adding with [[theWindow contentView] addSubview:infoView];
The problem is when I do this the infoView is overlapped with the
scrollView. How can I make it appear below the other views in the
window? (maybe making the window grow in size). Some code examples or
pointers would be great. (http://i31.tinypic.com/2wf1f95.jpg this is
what it should look like after adding the subview)
Thank you for your time.
stefano
_______________________________________________
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