timthedevguy / BGHUDAppKit

* BGHUDAPPKIT is no longer under development by me, I hope that the community will keep it alive and going as I no longer have time to dedicate to the project** The missing HUD controls. Please scroll down to read the readme file for an important notice concerning the future of BGHUDAppKit. Note that there are multiple versions available, 10.5+, 10.6.7, and now 10.7. As soon as I learn how I'll make these all one code base if possible.
http://www.binarymethod.com/
312 stars 57 forks source link

Column Adding in BGHUDOutlineView #5

Closed vsarpe closed 14 years ago

vsarpe commented 15 years ago

Hi, Adding columns via Interface Builder for BGHUDOutlineView adds columns with plain headers (the silver ones found in normal NSOutlineView).

Since the default column numbers for the BGHUDOutlineView is 2, if I go to interface builder and increase the number of columns, it will add silver additional headers instead of black.

Am I missing something? Is there a way around it?

timthedevguy commented 15 years ago

Oops, good catch. I'll add that to the que.

benlowndes commented 14 years ago

You can work around this by copying the existing columns in the Nib navigator. Just browse into the tableview columns and command-c to copy the column and command-v to paste the copies in.

timthedevguy commented 14 years ago

I've been digging for a way to fix this and I just realized that the only place you see the silver headers is IB, when you run the app it's fine.

Unfortunately this is an unavoidable quirk. The silver header appears because BGHUDAppKit can't intercept the message and tell it to use a BGHUD style header during IB creation. When the object is unarchived from disk (when you run your app) the substitution is made.