Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Stacklayout inside a Scrollview

$
0
0

Hi,

I have one stack layout inside scrollview. At run time, i am adding item to stack layout. When i am adding 1st time to stack layout, it's takes 100% height and there is no scroll. After adding 2nd item, both item takes 50% height each and still there is no scroll. Again when i add 3rd item, each takes equal height (i.e. almost 33%) but no scoll yet.

I have set VerticalOptions for scrollview and stack layout.

VerticalOptions = LayoutOptions.FillAndExpand

Do i need to set a fixed height to each item while adding it to stack layout, because i need a scroll when item increases ?
Please let me know.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>