summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs
new file mode 100644
index 00000000..06bca7b0
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36649.cs
@@ -0,0 +1,29 @@
+using Xamarin.Forms.CustomAttributes;
+
+namespace Xamarin.Forms.Controls
+{
+ [Issue (IssueTracker.Bugzilla, 36649, "LineBreakMode.NoWrap is handled incorrectly on Windows Phone 8.1 RT",
+ PlatformAffected.WinRT)]
+ public class Bugzilla36649 : TestContentPage
+ {
+ protected override void Init ()
+ {
+ var label = new Label {
+ Style = Device.Styles.BodyStyle,
+ FontSize = 20,
+ Text =
+ "This test is successful if the line below does not wrap and does not have an ellipsis at the end of the visible text."
+ };
+ var testLabel = new Label {
+ TextColor = Color.Red,
+ Style = Device.Styles.BodyStyle,
+ FontSize = 20,
+ LineBreakMode = LineBreakMode.NoWrap,
+ Text =
+ "This text should be long enough that it won't fit on the screen, and since the LineBreakMode is set to NoWrap, there should not be an ellipsis at the end of the visible text."
+ };
+
+ Content = new StackLayout { Children = { label, testLabel } };
+ }
+ }
+} \ No newline at end of file