xamarin/Xamarin.Forms
[Bug] [iOS] Label with HTML does not respect the TextAlignment properties
开放
#8,158 创建于 2019年10月22日
e/4 :clock4:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
The HTML is always left oriented even with HorizontalTextAlignment is set to center
Steps to Reproduce
- 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.

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