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

Picker in tableview causes viewcells to shrink

$
0
0

Sample:

   return new ContentPage
            {
                Content = new TableView(new TableRoot
                {
                    new TableSection("Textcell") {new TextCell {Text = "Text"}},
                    new TableSection("Viewcell with picker")
                    {
                        new ViewCell
                        {
                            View = new Picker
                            {
                                Items = {"1", "2", "3"},
                                Title = "Picker",
                                HorizontalOptions = LayoutOptions.FillAndExpand
                            }
                        }
                    },
                    new TableSection("Viewcell with button") {new ViewCell {View = new Button {Text = "button"}}}
                }) {Intent = TableIntent.Data}
            };

When you click the picker then select an item from the picker, when you return to the view the viewcells are cut off

Has anybody seen this before?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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