xamarin/Xamarin.Forms

Label LineHeight does not render the same on iOS and Android

オープン

#6,046 opened on 2019/04/29

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

Repository metrics

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

説明

Description

If you change the default LineHeight on a Label, when text is wrapped, Android seems to be applying spacing between lines. On the other hand, iOS changes the height of each line, which creates unnecessary padding above the first line.

Steps to Reproduce

Run the attached repro on both platforms and notice that iOS line spacing is off. I'm not sure if this is the default behavior on iOS, but it'd be great to have consistency on both platforms.

Reproduction Link

App18776.zip

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