xamarin/Xamarin.Forms

[Bug] [iOS] unset font properties on a Span are not inherited if any font property is set

オープン

#6,734 opened on 2019/07/01

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

Repository metrics

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

説明

Description

If any font property is set on a span, all other properties will have default value instead of those inherited from owner Label (click link to source)

Steps to Reproduce

  1. create a label with fontattributes italic
  2. add a formattedstring with span fontsize set to large

the span will be large but not italic

Expected Behavior

inherit unset font properties from label.

Actual Behavior

unset font properties are default values.

Basic Information

  • Version with issue: 3.6
  • Platform Target Frameworks:
    • iOS: 12.3

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