xamarin/Xamarin.Forms

[Bug] Shell cannot style toolbar items

Aperta

#5987 aperta il 24 apr 2019

 (5 commenti) (3 reazioni) (1 assegnatario)C# (1926 fork)batch import
a/shell :shell:e/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

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

Guida contributor