Bug 59537 - CATextLayer.Alignment* strings should be CATextLayerAlignment enum / type
Summary: CATextLayer.Alignment* strings should be CATextLayerAlignment enum / type
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: 15.6
Assignee: Bugzilla
Depends on:
Reported: 2017-09-15 21:15 UTC by Larry O'Brien
Modified: 2017-11-21 18:30 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Larry O'Brien 2017-09-15 21:15:14 UTC
CATextLayer.AlignmentMode takes a string that must be one of the CATextLayer.Alignment* values [Center, Justified, Left, Mode, Natural, Right]. It would be preferable if this were a strongly-typed property of a (smart enum?) class called CATextLayerAlignment.
Comment 1 Alex Soto [MSFT] 2017-09-19 19:44:23 UTC
PR https://github.com/xamarin/xamarin-macios/pull/2723
Comment 2 Alex Soto [MSFT] 2017-09-27 14:21:21 UTC
Fixed @ d2415cae1fbb7ccc33f7277d20f57544b9d49288