xamarin/Xamarin.Forms

Label LineBreakMode="CharacterWrap" doesn't work in android

Offen

#7.118 geöffnet am 09.08.2019

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

Xararin.Forms.Label.LineBreakMode CharacterWrap option works like WordWrap in android. No Grid and StackLayout, just Label inside ContentPage.

Steps to Reproduce

<?xml version="1.0" encoding="utf-8"?>
<ContentPage  xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TestWrap.MainPage">
    <Label BackgroundColor="White" LineBreakMode="CharacterWrap" Text="WelcometoXamarinFor mssdgjhxdghxsdekghs ghsksdgkhdghdkhglsdghdhgkd hdsgdklhgkhdglhdfklhgdh" />
</ContentPage>

Basic Information

  • Version with issue: Xamarin.Forms 4.1.0555618

Screenshots

Android

iOS

Contributor Guide