Bug 44453 - [UWP] ToolbarItem Text hard to see when BarTextColor is light
Summary: [UWP] ToolbarItem Text hard to see when BarTextColor is light
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-09-17 00:55 UTC by Matthew Leibowitz
Modified: 2017-11-16 09:34 UTC (History)
9 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:

The test project (75.00 KB, application/x-zip-compressed)
2016-09-17 00:55 UTC, Matthew Leibowitz
Forms Colors (7.88 KB, image/png)
2016-09-17 00:56 UTC, Matthew Leibowitz
Windows Colors (9.30 KB, image/png)
2016-09-17 00:57 UTC, Matthew Leibowitz

Description Matthew Leibowitz 2016-09-17 00:55:28 UTC
Created attachment 17563 [details]
The test project

In the UWP app.

If I set the BarTextColor to a light color, and then add toolbar items, the items in the secondary menu take on the color of the BarTextColor. As the color of the background of the toolbar secondary menu cannot be controlled, this should not happen.

Typically, I would set the BarBackgroundColor to a nice dark (Xamarin Blue) color, and the BarTextColor to a light (White) color. This causes issues as the secondary menu retains the light grey, but the text gets the new white.

I am thinking this line (did five seconds of research):

I don't think it would be good to set the background color, as this does not change the color of the menu. TO do that, I think you might need to create a new style for the presenter: CommandBarOverflowPresenterStyle

I will attach screenshots of what I mean.
Comment 1 Matthew Leibowitz 2016-09-17 00:56:09 UTC
Created attachment 17564 [details]
Forms Colors

The bar background is blue with a text color of white.
Comment 2 Matthew Leibowitz 2016-09-17 00:57:15 UTC
Created attachment 17565 [details]
Windows Colors

The bar background is red, text white. 
Then the AppBarButton is green with white text.
Comment 3 Matthew Leibowitz 2016-09-17 01:00:01 UTC
I also noticed that the hover/hot color of the secondary items is Black. So, no matter the color I set the items, they hover at black. If the menu background is changed, then features need to be added to change the text, hot text and the selection colors.
Comment 4 Rui Marinho 2016-12-19 12:49:43 UTC
Should be fixed in 2.3.4-pre2
Comment 5 Parmendra Kumar 2017-02-03 18:22:18 UTC
I have checked this issue and observed that this issue has been fixed with Xamarin.Forms

Hence closing this issue.

Comment 6 Nishant Gaurav 2017-09-06 05:39:00 UTC
These are very needful and useful. http://freepaypalgiftcard.com Thanks for publishing such informative contents. Liked your all the posts. Thanks.

Note You need to log in before you can comment on or make changes to this bug.