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

Use accessible Foreground on WatermarkedTextbox in Add Package Source Mapping dialog #4856

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

donnie-msft
Copy link
Contributor

@donnie-msft donnie-msft commented Oct 14, 2022

Bug

Fixes: NuGet/Home#12141

Regression? Last working version:

Description

Until the VS Platform supports inheritance for this control, and rather than create our own WatermarkedTextbox, I've chosen to copy just the styles we need, and set an appropriate Foreground.

I've commented in XAML with the issue that contains context on when we can remove the styles and just use the Platform styles directly.

Before this PR:

image

After this PR:

image

PR Checklist

@donnie-msft donnie-msft requested a review from a team as a code owner October 14, 2022 22:25
@donnie-msft donnie-msft merged commit 10ce64e into dev Oct 17, 2022
@donnie-msft donnie-msft deleted the dev-donnie-msft-watermarkTxtForeground branch October 17, 2022 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Watermark TextBox font color is incorrect in Add Dialog of Package Source Mapping Options
2 participants