开发者

UI rendering issues with Segmented Control

开发者 https://www.devze.com 2023-03-23 11:10 出处:网络
I\'m working on a simple app to learn Cocoa and I\'ve encountered a little rendering bug with the segmented controller.

I'm working on a simple app to learn Cocoa and I've encountered a little rendering bug with the segmented controller.

UI rendering issues with Segmented Control

As you can see here, the view does not display fully opaque. I've looked a开发者_运维问答round to try and find a solution to this to no avail. I did at one point think that maybe this control wasn't supposed to be used in this way but a quick browse through the system preferences yielded several views using this technique.


The control you are looking for is actually NSTabView. Docs here:

NSTabView

0

精彩评论

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

关注公众号