xamarin/Xamarin.Forms

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

Aberta

#8.158 aberto em 22 de out. de 2019

 (4 comentários) (0 reação) (0 responsável)C# (1.926 forks)batch import
e/4 :clock4:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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...

Guia do colaborador