xamarin/Xamarin.Forms

In ListView, FontIcon does not load properly when loaded inside the Button

オープン

#7,093 opened on 2019/08/07

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/listviewe/3 :clock3:help wantedp/Androidpartnert/bug :bug:up-for-grabs

Repository metrics

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

説明

Description

When FontIcon loaded inside Button, icon does not load properly for all the listview items. Only the first icon loads as expected. We have ListView-StackLayout-{Image-Label-Button}

1.If ListView format is ListView-StackLayout-{Label-Button} -> No issue occurs and Button inside icon loads properly for all listview items. 2. If ListView format is ListView-StackLayout-{Button-Label-Button} -> No issue occurs and Button inside icon loads properly for all listview items.

Steps to Reproduce

1.Run the sample 2. Note when image is added inside the ItemTemplate- FontIcon inside the button will not render in all properly in all items properly.

Expected Behavior

Even Image added to the Itemtemplate Button should also display properly

Actual Behavior

When image is added inside the ItemTemplate- FontIcon inside the button will not render in all properly in all items properly.

Basic Information

  • Version with issue: 4.1
  • IDE: VS 2019

Screenshots

image

image

Edit StackLayout with {Button-Label-Button } image

Reproduction Link

https://www.syncfusion.com/downloads/support/directtrac/general/ze/GettingStarted-232219824

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