Bug 35802 - Xamarin.UWP cannot layout scrollview
Summary: Xamarin.UWP cannot layout scrollview
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-12 00:24 UTC by Jesse Jiang
Modified: 2016-11-12 05:34 UTC (History)
5 users (show)

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


Attachments
Demo (393.68 KB, application/octet-stream)
2015-11-18 19:48 UTC, Jesse Jiang
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 NOT_REPRODUCIBLE

Description Jesse Jiang 2015-11-12 00:24:22 UTC
I found that element in ScrollView cannot be layout on UWP. 

Please try these codes

          MainPage = new ContentPage
            {
                Content = new StackLayout
                {
                    VerticalOptions = LayoutOptions.Center,
                    Children = {
                        new ScrollView
                        {
                            Content = new StackLayout
                            {
                                Orientation= StackOrientation.Horizontal,
                                Children = {
                                    new Label {
                            XAlign = TextAlignment.Center,
                            Text = "Welcome to Xamarin Forms!"
                        }
                                }
                            }
                        }

                    }
                }
            };
Comment 1 Rui Marinho 2015-11-18 11:02:54 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue we would very much appreciate it.

Warm regards,
Xamarin Forms Team
Comment 2 Jesse Jiang 2015-11-18 19:48:59 UTC
Created attachment 13876 [details]
Demo
Comment 3 Paul DiPietro [MSFT] 2016-11-12 05:34:01 UTC
Not reproducible using the latest version of Forms.