xamarin/Xamarin.Forms

[Bug] Color of FontImageSource does not change when Button is disabled

Aperta

#6836 aperta il 10 lug 2019

 (5 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/stylee/4 :clock4:help wantedt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When a button which contains a FontImageSource and a text is disabled, only the text takes a different disabled color, not the fontImageSource.

Steps to Reproduce

  1. Create a button with an FontImageSource as the ImageSource and a text
  2. Disable the button
  3. The color of the text is changed but not the color of the icon of the FontImageSource

Expected Behavior

Both the text and the icon should have the same disabled color.

Actual Behavior

Only the text has a disabled color, not the icon.

Basic Information

  • Version with issue: Xamarin Forms 4.1
  • IDE: VS 2019

Screenshots

image

Guida contributor