[macOS] Add character spacing to button and label (#8206)
authorOliver Brown <galaxiaguy@gmail.com>
Tue, 5 Nov 2019 14:53:33 +0000 (14:53 +0000)
committerRui Marinho <me@ruimarinho.net>
Tue, 5 Nov 2019 14:53:33 +0000 (14:53 +0000)
commit610dde4f73b36936dc1c21e1c867fe512157e104
treee83d07da91f299ccee1e06c6a34391ccb733f3db
parentacb41db1fb383b4642ae53078a28477b45320a89
[macOS] Add character spacing to button and label (#8206)

* Add character spacing extension method to macOS

* Add character spacing to label on macOS.

* Add character spacing for button on macOS

* Add color pickers to character spacing gallery to check everything works with colors.

* Make character spacing and text color work properly together on button and label on macOS.
Xamarin.Forms.Controls/GalleryPages/CharacterSpacingGallery.xaml
Xamarin.Forms.Controls/GalleryPages/CharacterSpacingGallery.xaml.cs
Xamarin.Forms.Platform.MacOS/Extensions/NSAttributedStringExtensions.cs [new file with mode: 0644]
Xamarin.Forms.Platform.MacOS/Renderers/ButtonRenderer.cs
Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj
Xamarin.Forms.Platform.iOS/Renderers/LabelRenderer.cs