xamarin/Xamarin.Forms

[Bug] [iOS] Label with HTML does not respect the TextAlignment properties

オープン

#8,158 opened on 2019/10/22

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/4 :clock4:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

The HTML is always left oriented even with HorizontalTextAlignment is set to center

Steps to Reproduce

  1. Place a Label with HTML content and set the HorizontalTextAlignment property

Expected Behavior

Should display the text properly

Actual Behavior

Always left oriented

Basic Information

  • Version with issue: 4.3
  • Last known good version: -
  • IDE: Latest stable VS for Mac Enterprise
  • Platform Target Frameworks:
    • iOS: Tested with iOS 13.1

Screenshots

The translator section is a Label with HTML content. It was previously correctly formatted with white text, centered and no misplaced characters. I was using the HtmlLabel plugin previously. Simulator Screen Shot - iPhone 11 - 2019-10-22 at 21 39 30

Reproduction Link

Way too easy to reproduce to make a whole reproduction repo for it...

コントリビューターガイド