Bug 20311 - Extra white space added to top of table view in iOS designer.
Summary: Extra white space added to top of table view in iOS designer.
Status: VERIFIED FEATURE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 3.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-06-03 14:23 UTC by Jon Goldberger [MSFT]
Modified: 2015-02-09 08:10 UTC (History)
7 users (show)

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


Attachments
ExtraWhiteSpaceInTableView image (119.29 KB, image/png)
2014-06-03 14:29 UTC, Jon Goldberger [MSFT]
Details
NoExtraWhiteSpace image (114.97 KB, image/png)
2014-06-03 14:30 UTC, Jon Goldberger [MSFT]
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 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:
VERIFIED FEATURE

Comment 1 Jon Goldberger [MSFT] 2014-06-03 14:29:18 UTC
Extra white space is rendered in the top of a table view, but inside the rectangle of the table view, when adding it to an existing view controller.

To reproduce:

1. Add the attached storyboard file to an X.iOS project.
2. Open the storyboard file in iOS Designer.
3. Add a table view to the View Controller indicated in the attached image file, TableViewWhiteSpace.png.
4. Delete all prototype cell place holders.

Expected result: no extra white space at top of the table view

Actual result: extra whitespace at the top of the table view. (see attached image ExtraWhiteSpaceInTableView.png)

Adding a new view controller to the storyboard and adding a table view to the new view controller does not result in the same extra white space. (see attached image NoExtraWhiteSpace.png)
Comment 2 Jon Goldberger [MSFT] 2014-06-03 14:29:53 UTC
Created attachment 6967 [details]
ExtraWhiteSpaceInTableView image
Comment 3 Jon Goldberger [MSFT] 2014-06-03 14:30:13 UTC
Created attachment 6968 [details]
NoExtraWhiteSpace image
Comment 4 Prashant manu 2014-06-05 06:34:28 UTC
Checked with the attached storyboard file, adding table view to existing view controller shows extra white space at top. 

Adding table view to new view controller doesn't show extra white space.

Screencast: http://screencast.com/t/Ry6rMlLjft9

Environment Info:
Xamarin  3.0.54.0 (d3cf238e3845e930e312b6ec9b4c6c5437c33067)
Xam.iOS 7.2.3.39
Comment 5 sothy.chan 2014-06-06 18:01:19 UTC
After adding the table view to new view controller, set it as the root view from a navigation controller and a white space should show up.
Comment 6 Alan McGovern 2014-11-27 19:06:33 UTC
I believe what you're seeing is the space allocated for the section header. We don't put any text in this by default as iOS will render carrier name text and the wifi signal strength icon on top of the text when you have a UITableViewController.

If you create the same construct in Xcode you will see the same space allocated, but with the text 'Prototype cells' in it.
Comment 7 asimk 2015-02-09 08:10:04 UTC
As per comment 6 closing this issue.