• 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: Single column NSListView bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single column NSListView bug?


  • Subject: Re: Single column NSListView bug?
  • From: "Kevin" <email@hidden>
  • Date: Sun, 2 Dec 2007 19:18:36 +0000
  • Importance: Normal
  • Sensitivity: Normal

Scott, I'm assuming your listview is either a NSTableView or an NSOutlineView.

I had a similar problem with a single-column NSOutlineView and I tracked it down to a supposed bug. The workaround is to override drawRect: and simply call [super drawRect:].

Give it a try.

Kevin
xhead software

Sent via BlackBerry by AT&T

-----Original Message-----
From: Scott Andrew <email@hidden>

Date: Sun, 2 Dec 2007 09:27:23
To:email@hidden
Subject: Single column NSListView bug?


I have a NSListView that is single column with a subclassed cell.
However when i have a single column the cell is told to resize and new
rectangles are passed in, however the drawing appears to be delayed,
and when shrunk the column will not readraw.

However... If i add a 2nd column with 0 width then all will redraw
when resizing properly.

Is this a known problem? Is this a 10.5 only issue?

Scott
_______________________________________________

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
_______________________________________________

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

  • Follow-Ups:
    • Re: Single column NSListView bug?
      • From: Corbin Dunn <email@hidden>
    • Re: Single column NSListView bug?
      • From: Scott Andrew <email@hidden>
References: 
 >Single column NSListView bug? (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Agent library without UI elements
  • Next by Date: Re: Single column NSListView bug?
  • Previous by thread: Single column NSListView bug?
  • Next by thread: Re: Single column NSListView bug?
  • Index(es):
    • Date
    • Thread