Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListView: fix list view selected hover #5448

Closed

Conversation

beervoley
Copy link
Contributor

Description

This PR fixes #5304.

Motivation and Context

Hover color was different in Light and Dark theme for the ListViewItem. This PR fixes it.

How Has This Been Tested?

Manually.

@beervoley beervoley added area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team labels Jul 13, 2021
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jul 13, 2021
@beervoley
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -130,7 +130,7 @@
<StaticResource x:Key="ListViewItemBackgroundPointerOver" ResourceKey="SubtleFillColorSecondaryBrush" />
<StaticResource x:Key="ListViewItemBackgroundPressed" ResourceKey="SubtleFillColorTertiaryBrush" />
<StaticResource x:Key="ListViewItemBackgroundSelected" ResourceKey="SubtleFillColorSecondaryBrush" />
<StaticResource x:Key="ListViewItemBackgroundSelectedPointerOver" ResourceKey="AccentFillColorSecondaryBrush" />
Copy link
Contributor Author

@beervoley beervoley Jul 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marksfoster could you please confirm that we indeed need to use SubtleFillColorSecondaryBrush instead of accent color here?:)
And what is the expected color of the selected item in rest: is it accent or subtleFillColorSecodary?

@beervoley
Copy link
Contributor Author

Closing: decision has not been made yet

@beervoley beervoley closed this Jul 13, 2021
@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ListViewItem selected state looks broken
2 participants