Re: title bars messed up when scrolling in NSTableView
Re: title bars messed up when scrolling in NSTableView
- Subject: Re: title bars messed up when scrolling in NSTableView
- From: "Paul L. Gribble" <email@hidden>
- Date: Mon, 30 Jan 2006 14:51:16 -0500
- Thread-topic: title bars messed up when scrolling in NSTableView
OK looks promising ... but could you clarify for me what you mean ...
³
The solution is to add an outlet to the NSTableView inside your controller
and add a bit of code to correct the situation:
- (void)awakeFromNib {
[tableView setFrameOrigin:NSZeroPoint];
}
³
So my controller¹s awakeFromNib method should make the extra call to
[tableView setFrameOrigin:NSZeroPoint];? Is that right? My controller
presently is basically empty ... so how does it ³know² about the tableView
object?
sorry if these are extremely newbie Qs
On 1/30/06 1:43 PM, "Corbin Dunn" <email@hidden> wrote:
> It seems that there is a version of Xcode that creates bunk TableViews
> via CoreData drag and drop to IB. Take a look at this post:
>
> http://www.corbinstreehouse.com/blog/?p=109
>
> It describes the problem (with screen shots) and the easy solution,
> copied below.
>
> - (void)awakeFromNib {
> [tableView setFrameOrigin:NSZeroPoint];
> }
>
> --corbin
>
>
> On Jan 30, 2006, at 10:30 AM, Paul L. Gribble wrote:
>
>> > I have a core data application that works really well, except that
>> > whenever
>> > I use the (vertical) scroll bar to scroll through the main
>> > NSTableView, the
>> > titles of the columns suddenly shift over to the left and some
>> > disappear
>> > altogether.
>> >
>> > Has anyone run into this? I don't think I have done anything non-
>> > standard to
>> > the GUI, just used the default stuff that comes with core data ...
>
>
_______________________________________________
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