Skip to content

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

Merged
donnie-msft merged 1 commit intodevfrom
dev-donnie-msft-watermarkTxtForeground
Oct 17, 2022
Merged

Use accessible Foreground on WatermarkedTextbox in Add Package Source Mapping dialog#4856
donnie-msft merged 1 commit intodevfrom
dev-donnie-msft-watermarkTxtForeground

Conversation

@donnie-msft
Copy link
Copy Markdown
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