Bug 39054 - Unable to force no truncation on label
Summary: Unable to force no truncation on label
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-02-23 17:02 UTC by Cody Beyer (MSFT)
Modified: 2017-03-09 21:17 UTC (History)
3 users (show)

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


Attachments
Sample (212.89 KB, application/zip)
2016-02-23 17:03 UTC, Cody Beyer (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 for Bug 39054 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Cody Beyer (MSFT) 2016-02-23 17:02:21 UTC
# Description

The following sample attempts to display three separate labels, with the goal of fully displaying the first label, and tail truncating the final label in order to fit the first two.

The relevant code starts at line 43 of TestPage.cs

# Sample

Attached

# Steps to reproduce

1. Download sample
2. Deploy to iPhone simulator

# Expected Results

The full date is present

# Actual Results

Date is truncated at the year (2/18/2)

# Versions

=== Xamarin Studio ===

Version 6.0 (build 4520)
Installation UUID: 9425f1a1-4976-4c90-9b76-c277b113f746
Runtime:
	Mono 4.3.2 (mono-4.3.2-branch/ba2e5e4) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 403020467

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2.1 (9548.1)
Build 7C1002

=== Xamarin.iOS ===

Version: 9.7.0.331 (Business Edition)
Hash: 8a21269
Branch: master
Build date: 2016-02-18 13:08:58-0500

=== Xamarin.Android ===

Version: 6.0.99.544 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.7.0.331 (Business Edition)

=== Build Information ===

Release ID: 600004520
Git revision: a354b2cb9df4b96f50b0ccb960dbdd5a9155510c
Build date: 2016-02-18 14:52:07-05
Xamarin addins: 8e54979f23feee160d245a3c33e43e77779b1eb4
Build lane: monodevelop-lion-master

=== Operating System ===

Mac OS X 10.11.3
Darwin Codys-MacBook-Pro.local 15.3.0 Darwin Kernel Version 15.3.0
	Thu Dec 10 18:40:58 PST 2015
	root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
Comment 1 Cody Beyer (MSFT) 2016-02-23 17:03:46 UTC
Created attachment 15152 [details]
Sample
Comment 2 Paul DiPietro [MSFT] 2017-03-09 21:17:47 UTC
Looks to happen in Android as well based on the reproduction and tested against the 2.3.4.22-nightly build. Setting to confirmed for now until it can be investigated further.