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

[Windows] Fix Entry clear button is not taking the color of the text. #24196

Merged
merged 10 commits into from
Aug 27, 2024

Conversation

BagavathiPerumal
Copy link
Contributor

Root cause

The Clear button in the Entry control does not match the TextColor settings because the TextBoxExtension is missing the necessary keys for the ClearButton in the TextColorResourceKeys list. The keys only cover the text colors for the Entry control and do not include the Clear button.

Description of Issue Fix

The fix involves adding additional resource keys for the Clear button’s foreground colors. This ensures that the Clear button correctly adopts the specified text colors for different states, such as pointer over and pressed.

Issues Fixed

Fixes #19152

Output

Before Fix:

image

After Fix:

image

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Aug 13, 2024
@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

PureWeen commented Aug 18, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@BagavathiPerumal BagavathiPerumal marked this pull request as ready for review August 19, 2024 11:25
@BagavathiPerumal BagavathiPerumal requested a review from a team as a code owner August 19, 2024 11:25
@MartyIX
Copy link
Contributor

MartyIX commented Aug 19, 2024

@BagavathiPerumal I think you need to accept CLA (see #24196 (comment)) first.

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

jfversluis
jfversluis previously approved these changes Aug 20, 2024
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen removed the request for review from StephaneDelcroix August 23, 2024 15:35
@PureWeen PureWeen requested review from Foda and removed request for tj-devel709 August 23, 2024 15:35
@PureWeen PureWeen enabled auto-merge (squash) August 26, 2024 21:22
@jfversluis
Copy link
Member

@BagavathiPerumal can you agree with the CLA even if you did it already somewhere else just to see if that gets is unstuck?

@BagavathiPerumal
Copy link
Contributor Author

@dotnet-policy-service agree

@PureWeen PureWeen merged commit bae06d3 into dotnet:main Aug 27, 2024
97 checks passed
@samhouts samhouts added the fixed-in-net8.0-nightly This may be available in a nightly release! label Aug 27, 2024
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Sep 5, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.2.24503.2 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Oct 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows | Entry ClearButton not taking color of text
6 participants