Bug 22836 - Single line of text in ImageCell if the ListView is in a StackLayout on iOS
Summary: Single line of text in ImageCell if the ListView is in a StackLayout on iOS
Status: RESOLVED INVALID
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-10 13:06 UTC by Michael L Perry
Modified: 2014-09-10 21:45 UTC (History)
3 users (show)

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

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 INVALID

Description Michael L Perry 2014-09-10 13:06:55 UTC
I created a page with a Label and a ListView inside of a StackLayout, and bound both the Text and Detail properties of the ImageCell. On Android and Windows Phone, this appeared as two separate lines of text. On iOS, it appeared instead as a single line with two colors.

Then I removed the Label and used the ListView directly as the Content instead of putting it inside of a StackLayout. After that change, the detail appeared on a second line.

I'm happy with this layout, but I'm still disturbed that changing the container would impact the ImageCell.

Here's a commit where I went from the bad layout to the good layout: https://github.com/michaellperry/Festify/commit/3d956e26fd6c78aef11ad9174db20db5c8d7e798

And again, this is only on iOS. On Android and Windows Phone, the ImageCell displays two separate lines.
Comment 1 Michael L Perry 2014-09-10 21:45:12 UTC
Sorry, this was actually fixed in a previous version. When trying the repro, I discovered that I had originally seen this behavior on the older version. The current version looks correct.