Bug 26283 - Table Expands when it shouldn't
Summary: Table Expands when it shouldn't
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-01-22 09:30 UTC by christine.blanda
Modified: 2015-01-26 13:13 UTC (History)
4 users (show)

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

1.2.2 on left, 1.3.1 on right (23.74 KB, image/png)
2015-01-22 09:31 UTC, christine.blanda
Zip Xamarin Logs (26.45 KB, application/octet-stream)
2015-01-22 12:55 UTC, Udham Singh

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 christine.blanda 2015-01-22 09:30:14 UTC
Using the following code:
            HorizontalOptions = "Fill"
            VerticalOptions = "Start"
            <TableView x:Name="notifyTable"
                HorizontalOptions = "FillAndExpand"
                    VerticalOptions = "Start">
                    <TableSection Title="Notifications:" >
                        <SwitchCell Text = "Announcements" On="true"/>
                        <SwitchCell Text = "Targeted Messages" On="false"/>
                        <SwitchCell Text = "Message Center" On="true"/>

in version 1.2.2 the table does not expand Vertically, in version 1.3.1 it does.  Since it is not set to expand, it shouldn't.
Comment 1 christine.blanda 2015-01-22 09:31:06 UTC
Created attachment 9447 [details]
1.2.2 on left, 1.3.1 on right
Comment 2 Udham Singh 2015-01-22 12:55:27 UTC
Created attachment 9450 [details]
Zip Xamarin Logs

I have checked this issue with the help of code provide in bug description and observed that when we run the app table got expanded vertically. To reproduce this issue I have followed the step below : 

1. Create a Mobile App (Blank App (Xamarin.Forms Portable)).
2. Add a Xaml page (Forms Xaml Page) in PCL project.
3. Implement the code given in bug in .xaml file
4. Open the App.cs file of PCL project and call the Xaml page.
5. Run the app and observed that table got expanded vertically.

Screencast : http://www.screencast.com/t/5nX3bZjjPt

Environment Info:

Xamarin.Forms :

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Xamarin (32502a7)
Comment 3 Jason Smith [MSFT] 2015-01-26 13:13:16 UTC
Set a HeightRequest on the table to the size you desire. The reason the table now has a different sizing mechanism is because it was previously highly inconsistent across platforms. It now is unified.