Re: StripedTableView and sheets
Re: StripedTableView and sheets
- Subject: Re: StripedTableView and sheets
- From: "James J. Merkel" <email@hidden>
- Date: Sun, 6 Apr 2003 21:26:37 -0700
On Sunday, April 6, 2003, at 03:40 PM, Denis Stanton wrote:
On Monday, April 7, 2003, at 08:56 AM, James J. Merkel wrote:
On dimanche, avril 6, 2003, at 09:41 PM, James J. Merkel wrote:
To Cocoa programmers,
I used the StripedTableView custom class from TableTester in a
TableView to provide alternate row colors and it worked great.
However, I also tried to use it in a sheet and it did not work
properly. Only the first column is drawn correctly with the
alternate
row colors. Is there some subtlety about sheets that I should be
taking into account?
Any help would be appreciated.
Must be the Interface Builder bug you're seeing. The background of
your
Prototype cell is being drawn.
Is this a known Interface Builder bug?
I guess a work-around is to set up the TableView in code. A lot of
work for a small effect.
Yes, it is a known bug in IB. The TableTester tutorial at
http://www.gigliwood.com/tabletester/ now starts with a description of
this bug, and the work-around.
Denis
Thanks for the pointer. That fixed it.
Also, FWIW, I noticed another bug mentioned in the errata about column
resizing. I have not seen that problem in my app. Also, if I put the
suggested line of code in the drawGridInClipRect: method it slows the
TableWiew scrolling considerably.
Jim Merkel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.