开发者

NSBox background image

How can I set bac开发者_JAVA百科kground image a for an NSBox? I know we can put a color, but what about background image?


Check out +NSColor colorWithPatternImage:.

[myNSBox somehowSetBackgroundColor: [NSColor colorWithPatternImage: myImage]];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜