 |
 |
What's Up With IB and NSTableView?
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
I try to set the show grid option for an NSTableView and it just doesn't stick. Meaning that it displays the grid in IB but no grid in the real app.
What's worse is that, when I test the interface the grid color also becomes the background color. What a mess!
I guess something needs to be refreshed so I restarted both IB and PB, cleaned the active target but the problem persists. Any ideas?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status:
Offline
|
|
I believe the grid thing is a known bug. Furthermore, I believe if you leave it off in IB and turn it on in code [table setDrawsGrid:YES] it will then work. I'm sure if you turn it off and then on in code it will work. unfortunately I think the background color issue is the way it's supposed to work :(
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
Thanks very much, per your indication setting
[table setDrawsGrid:NO];
[table setDrawsGrid:YES];
worked fine.
This was a really annoying one... Spent a few hours going bannanas.

|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
The reason for this is that drawing a grid in a tableview is against the HIG, I think. Or something.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
Originally posted by Angus_D:
The reason for this is that drawing a grid in a tableview is against the HIG, I think. Or something.
Dude, what is a HIG?

|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 2001
Status:
Offline
|
|
HIG = Human Interface Guidelines
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|