Re: [NSTableView setDrawsGrid:YES]
Re: [NSTableView setDrawsGrid:YES]
- Subject: Re: [NSTableView setDrawsGrid:YES]
- From: Chuck Soper <email@hidden>
- Date: Thu, 13 May 2004 10:40:10 -0700
There was (and may still be) a bug where setting the "Show Grid"
option in IB has no effect. Sending setDrawsGrid:YES to a NSTableView
in the awakeFromNib should work (it works for me). You might try
sending needsDisplay to your table as well.
Also, search
http://cocoa.mamasam.com for "setDrawsGrid" for a
discussion on the problem.
Chuck
At 10:45 AM -0600 5/13/04, David Blanton wrote:
I have set the "Show Grid" option in IB (10.2 or greater format) and sent
the message setDrawsGrid:YES to a NSTableView in the awakeFromNib but I get
no grid lines drawn.
Is some other method required to draw something as simple as grid lines?
- (void)setDrawsGrid:(BOOL)flag
Controls whether the receiver draws grid lines around cells. If flag is YES
it does; if flag is NO it doesn't. The default is YES.
Is there a person smarter than me on this list who can explain to me, like I
am a five year old, how to get grid lines drawn in a NSTableView?
(Stupid or ignorant) and (obviously confused).
DB
_______________________________________________
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.