Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Conversation

@mattgalloway
Copy link

Updated code to support macOS versions earlier than 10.12 by:

1.) mapping NSImageLeading and NSImageTrailing image positions to NSImageLeft and NSImageRight respectively when run on macOS 10.12 but ignore these values otherwise.

2.) assumes imageHugsTitle == NO on macOS < 10.12. This property was added in 10.12 and the default value is NO - so it's save to assume this behavior for earlier versions of macOS.

mattatmicrosoft and others added 2 commits March 16, 2018 12:24
1.) mapping NSImageLeading and NSImageTrailing image positions to NSImageLeft and NSImageRight respectively when run on macOS 10.12 but ignore these values otherwise.
2.) assumes imageHugsTitle == NO on macOS < 10.12. This property was added in 10.12 and the default value is NO.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants