Skip to content

Demonstrating a problem with NSButton's title going away when color is white

Notifications You must be signed in to change notification settings

tomhamming/nsbutton_title_disappear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The curious case of the disappearing NSButton title

Demonstrating a problem with NSButton's title not showing up when the text color is white, the button is in a popover that also contains a WebView with drawsBackground set to NO, and Reduce Transparency is on.

Steps:

  • Make sure Reduce Transparency is off in System Preferences -> Accessibility
  • Run the project, press the Press Me button, and note the button with visible white text in the lower left corner of the popover
  • Stop the project
  • Enable Reduce Transparancy in System Preferences -> Accessibility
  • Run the project, press the Press Me button, and note the button with invisible title.
  • Wonder at the mysteries of the universe

About

Demonstrating a problem with NSButton's title going away when color is white

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published