Post

Replies

Boosts

Views

Activity

Reply to macOS 10.12.4 NSButton After adding CAGradientLayer, button title is not displayed
@MobileTen I get the following output by iterating through the layers in different versions On macOS 10.12.4, the output is: (   "<CAGradientLayer: 0x60800002ff00>" ) On macOS 12.4, the output is: (   "<CAGradientLayer: 0x6000003d05c0>",   "<NSTextLayer: 0x600000d0ddd0>" ) Therefore, I suspect that the title does not exist as a layer in macOS10.12.4
Topic: UI Frameworks SubTopic: AppKit Tags:
Nov ’22
Reply to macOS 10.12.4 NSButton After adding CAGradientLayer, button title is not displayed
@MobileTen I get the following output by iterating through the layers in different versions On macOS 10.12.4, the output is: (     "<CAGradientLayer: 0x60800002ff00>" ) On macOS 12.4, the output is: (     "<CAGradientLayer: 0x6000003d05c0>",     "<NSTextLayer: 0x600000d0ddd0>" ) Therefore, I suspect that the title does not exist as a layer in macOS10.12.4
Topic: UI Frameworks SubTopic: AppKit Tags:
Nov ’22