Code Monkey home page Code Monkey logo

kbbutton's People

Contributors

flagsoft avatar kwbock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kbbutton's Issues

KBButtonCell Overrides Other NSButtonCells Within Same NSView

I'm experiencing an issue where any standard NSButtons that are within the same view as a KBButton get their cell's class automatically set to KBButtonCell with the default style, which makes it impossible to have regular buttons mixed in with custom buttons.

This issue also occurs in the included demo project:
image

The NSButtons will only be property styled if all the KBButtons are switched back to NSButtons:
image

Graphics glitches when set in NSScrollView

I noticed an issue when placing these buttons in an NSScrollView. The graphics were being drawn outside of the scroll view once they overlapped the edge.

I've fixed this in my version by changing all "setClip" commands to "addClip" (only after a bit of googling).

Hope this helps anyone else with the same issue.

thx - notes - programatically adding control

KBButton *btn = [[KBButton alloc]initWithFrame:NSMakeRect(self.bounds.size.width - 80, 10, 70, 30)];
btn.bezelStyle = NSSegmentStyleRounded;
btn.title = @"Text";
[[btn cell] setKBButtonType:BButtonTypePrimary];
[self addSubview:btn];

Title is not drawn properly

Screen Shot 2013-02-19 at 12 30 51 PM
Screen Shot 2013-02-19 at 12 31 00 PM

Sometimes when I tab through buttons or press buttons with Space key title of button disappears.
As far as I noticed it happens only to buttons with default (white) style.

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.