Bug 37741 - StackLayout Orientation="Horizontal" crashes with 'NAN is not a valid width.'
Summary: StackLayout Orientation="Horizontal" crashes with 'NAN is not a valid width.'
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-01-15 23:45 UTC by Paul Mace
Modified: 2016-12-21 20:33 UTC (History)
4 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 Paul Mace 2016-01-15 23:45:57 UTC
Xamarin Studio Mac Indie Both alpha and stable channels. 
Xaml code that previously compiled, suddenly crashed in new project.
Not cured by 2.0.1 -pre Forms

	<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand" MinimumHeightRequest="60">
		<Button x:Name="removeBtn" Text="   Remove   " HorizontalOptions="CenterAndExpand" HeightRequest="55">

Change the StackLayout Orientation to Horizontal and no crash.
Change the compile to  'Perform all 32-bit float operations as 64-bit float' et. voila! problem solved.
Comment 1 E.Z. Hart [MSFT] 2016-12-21 20:33:15 UTC
This is no longer an issue as of 2.2