Re: Problem with NSTableView in NSSplitView
Re: Problem with NSTableView in NSSplitView
- Subject: Re: Problem with NSTableView in NSSplitView
- From: Kyle Sluder <email@hidden>
- Date: Mon, 23 Nov 2009 21:02:42 -0800
On Sun, Nov 22, 2009 at 11:21 PM, Martin Hewitson
<email@hidden> wrote:
> I'm having some trouble when I have an NSTableView in an NSSplitView. I have the table set in IB to resize with the view it's in (all struts clicked). The table does not fill the full view. I have additionally a button below the table. Both the table and the button are in the top view of the split view. The problem I have is that when the splitter is dragged to the top of the window so that the top view of the split view has zero height, then the splitter is dragged down again to reveal the top view, the table is not in its proper position; the column headers are missing, for example.
This is not an accurate description of your view hierarchy. It sounds
like you have the following going on:
+ NSSplitView
|--+ Top View (NSView)
| |--+ NSScrollView
| | '-- Table View
| '-- Button
'-- Bottom View (NSView)
--Kyle Sluder
_______________________________________________
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