• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: title bars messed up when scrolling in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: title bars messed up when scrolling in NSTableView
      • From: Corbin Dunn <email@hidden>
References: 
 >Re: title bars messed up when scrolling in NSTableView (From: Corbin Dunn <email@hidden>)

  • Prev by Date: RE: How to prevent window redraw when removing a view?
  • Next by Date: Re: I think I have found a big bug in NSBrowser
  • Previous by thread: Re: title bars messed up when scrolling in NSTableView
  • Next by thread: Re: title bars messed up when scrolling in NSTableView
  • Index(es):
    • Date
    • Thread