Git Product home page Git Product logo

Comments (2)

timthedevguy avatar timthedevguy commented on May 29, 2024

Frank,

So sorry for the delay, Thanksgiving holiday threw my schedule for a loop, I read this message the day I got it but wasn't able to play with it until later, by that time I completely forgot why I was playing with it.

This is a known issue with BGHUDAppKit, and here is the work around.

  1. Drop a normal Radio Button NSMatrix to where you want it, set your rows/columns.
  2. Click on the first Radio button and then click again, it should enter cell mode (Where the rest of the window goes dark and the area around the button is lighter)
  3. Open your inspector panel and go to the Identity tab, last tab (Circle with a !)
  4. From the Class dropdown select BGHUDButtonCell
  5. Go back to the Attributes tab (first one) and type in NSRadioButton in the image box (The image doesn't exist but thats ok, the image is an apple internal thing that they use)

Repeat steps 2 - 5 for each Option you have.

After that your good to go, for some reason the only way I could get it to work in an NSMatrix was using this weird method. For some reason when an NSButton is inside of an NSMatrix it ignores the assigned Bezel style, what happens when you use a normal button and assign it to a Check/Radio Bezel style is an Image is assigned, NSSwitch or NSRadioButton. So in order for BGHUDAppKit to figure out what kind of control it was supposed to draw we had to tell it what image it's normally assigned.

Don't worry, the NSMatrix will look like utter crap in design view, but run it and it will look normal.

from bghudappkit.

frankrei avatar frankrei commented on May 29, 2024

Not to worry.. it worked like a charm, I really appreciate your help.

from bghudappkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.