xamarin/Xamarin.Forms

[Bug] Shell cannot style toolbar items

Aberta

#5.987 aberto em 24 de abr. de 2019

 (5 comentários) (3 reações) (1 responsável)C# (1.926 forks)batch import
a/shell :shell:e/4 :clock4:help wantedt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Description

I cannot set the color of ToolbarItem in Shell. I have also tried editing styles.xml and cannot seem to find the right properties to set colors.

Expected Behavior

I can set a Style along with all the other Shell styles for color of the label text or icon in the toolbar (android) with the same styling applied to iOS.

Actual Behavior

Nothing I do changes it. HOWEVER the back button behavior text takes a color for some reason. Luck?

Basic Information

  • Version with issue: 4.0-pre9

Screenshots

In this image you can see the TitleView is offset left which is b/c there are 2 toolbar items white on white to the right. They are clickable.

image

Reproduction Link

https://github.com/davidortinau/Straxa

Guia do colaborador