Bug 58503 - [iOS] Header template ignores layout options
Summary: [iOS] Header template ignores layout options
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.5
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-07-31 16:13 UTC by Paul Brenner
Modified: 2018-02-12 20:38 UTC (History)
3 users (show)

Tags: header, template, layoutoptions, ac
Is this bug a regression?: ---
Last known good build:

Sample showing issue (327.32 KB, application/zip)
2017-07-31 16:13 UTC, Paul Brenner

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 Brenner 2017-07-31 16:13:00 UTC
Created attachment 23913 [details]
Sample showing issue

I have a StackLayout set to CenterAndExpand on a ListView Header Template. 

It works as expected on Android, the stack layout is centered in the header. On iOS it is not centered. It also ignores margin on iOS.

See attached for repro.

Broken on and
Comment 1 Paul DiPietro [MSFT] 2017-07-31 17:21:57 UTC
Also tested against the 2.3.6-nightly.
Comment 2 Paul Brenner 2018-02-12 20:38:21 UTC
See https://github.com/xamarin/Xamarin.Forms/issues/1865