Bug 58503 - [iOS] Header template ignores layout options
Summary: [iOS] Header template ignores layout options
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.5
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
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:


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


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:
Status:
RESOLVED ANSWERED

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 2.3.4.247 and 2.3.5.256-pre6
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