nsbutton
NSButton white background when clicked
When creating Cocoa bevel button with custom image and alternate image I\'m having a strange behavior. In the pressed state the button background becomes white.[详细]
2023-04-13 00:10 分类:问答Cocoa/OSX - NSWindow standardWindowButton behaving strangely once copied and added again
In my app I change the position of the standardWindowButtons close / miniturize / ex开发者_运维技巧pand like so:[详细]
2023-04-09 23:36 分类:问答NSButton with an Image
I have a question. I have a button on my .xib and a background i开发者_高级运维mage. I set an image to my button through the attributes inspector, but when I run the program and press the button, this[详细]
2023-04-09 18:49 分类:问答Change direction of disclosure triangle
How can I change the direction of the disclosure triangle programmatically? In Interface Builder it\'s possible by changing the value \"Control -> Layout\" from \"Left to Right\" or \"Right to Left\".[详细]
2023-04-08 16:02 分类:问答Why does key equivalent work with escape but not with return?
I have a button on my window that is set in interface builder to have the key equivalent of enter, but after switching a content view from using IKImageBrowserView to NSCollectionView, the keyEquivale[详细]
2023-04-08 13:06 分类:问答Set an NSButton's action to be the same as an NSMenuItem's
In my开发者_JAVA百科 application, I save user preferences and one of the preferences is whether to show any NSMenuItems as buttons in the home window. I don\'t have problems to create the buttons dyna[详细]
2023-04-03 19:27 分类:问答How to let a disclosure button points left and right instead of up and down?
Is there any easy way to 开发者_开发百科let a disclosure button points left and right instead of up and down?[详细]
2023-04-01 17:12 分类:问答How to deal with a Toggle NSButton?
My application contains a PLAY/PAUSE button that is set to type Toggle in Interface Builder. I use it - as the name reveals - to play back my assets or to pause them.[详细]
2023-03-31 07:26 分类:问答Interface Builder: Dropping a button on content view results in small font size
I noticed an odd behavior in Interface Builder (Xcode 4): Dropping a plain old Push Button directly on the content view of a window results in a small button with the font \"System Mini 9\".[详细]
2023-03-31 03:14 分类:问答Using -setImage on NSButton
I am trying to make an image an button (NSButton) in a Cocoa application, below is the code I am 开发者_开发知识库trying to use:[详细]
2023-03-25 04:56 分类:问答