BGHUDAppKit icon indicating copy to clipboard operation
BGHUDAppKit copied to clipboard

Creating matrix/radio buttons, take 2

Open pixpont opened this issue 13 years ago • 1 comments

I've read the steps in

https://github.com/binarygod/BGHUDAppKit/issues/7

and tried to follow them to create a radio button matrix, but it doesn't seem to work for me. When I tried it one time, the text was still black, and the radio button circles looked pixelated. When I've tried it since, the entire radio button matrix is completely invisible.

Now, I have some existing xib files that I've inherited for a project, and the puzzling thing is that I see an example of a working radio button matrix in one of those xibs, I just can't replicate making it from scratch.

(Note this working radio button matrix has the display issue described in https://github.com/binarygod/BGHUDAppKit/issues/#issue/21 )

In the working version, the BGHUDButtonCell objects are not NSButtonCell objects with a new custom class name, their innate class type is BGHUDButtonCell, and for their IB attributes inspectors, they have a "Theme" disclosure area set to "gradientTheme". Their radio button circle looks fine.

So do people know how to make a radio button matrix that fits that description?

pixpont avatar Mar 30 '11 19:03 pixpont

Currently things are a little wacky. In order to get a radio button matrix to work we had to take advantage of private API's, since the App Store rejects any use of private API's I had to remove the offending code. Radio matrices are now broken until I can find a better solution that doesn't involve private API's.

timthedevguy avatar Apr 01 '11 01:04 timthedevguy