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

Update TextBox and related controls #3933

Merged
merged 5 commits into from
Jan 14, 2021
Merged

Update TextBox and related controls #3933

merged 5 commits into from
Jan 14, 2021

Conversation

teaP
Copy link
Contributor

@teaP teaP commented Jan 12, 2021

Update text control colors and borders, as well as the inner buttons inside them (close button, AutoSuggest has a find button, PasswordBox has a peek button).

About TemporaryTextFillColorDisabled: There is some bug where if you change the text foreground, but the RGB part of that color is the same (not the opacity), the color will not visually be updated. We're investigating and will open a bug when we know more, and I'll update the comments in this file with the bug number. As a workaround, for now, I created this temporary color that is just slightly not black (or not white) which does get applied.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jan 12, 2021
@mdtauk
Copy link
Contributor

mdtauk commented Jan 12, 2021

Could you share images of the changes being made?

Will these changes also need to be made for the NumberBox?

@StephenLPeters StephenLPeters added area-AutoSuggestBox area-Styling area-TextBlocks TextBlock, RichTextBlock team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 13, 2021
@karkarl
Copy link
Contributor

karkarl commented Jan 13, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@teaP
Copy link
Contributor Author

teaP commented Jan 14, 2021

image

This also updates NumberBox as far as it containing a TextBox goes; there may be other adjustments to it coming later.

@mdtauk
Copy link
Contributor

mdtauk commented Jan 14, 2021

image

This also updates NumberBox as far as it containing a TextBox goes; there may be other adjustments to it coming later.

Yea, because the buttons when inline with the Textfield, would need to blend well, and the Focused state would need to take this into account too.

@teaP
Copy link
Contributor Author

teaP commented Jan 14, 2021

Yea, because the buttons when inline with the Textfield, would need to blend well, and the Focused state would need to take this into account too.

Agreed, that'll be a different PR.

@ranjeshj
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@teaP teaP merged commit 21fb6af into master Jan 14, 2021
@teaP teaP deleted the user/teaP/TextBoxOffMaster branch January 14, 2021 21:07
Kinnara added a commit to Kinnara/ModernWpf that referenced this pull request Jul 10, 2022
Kinnara added a commit to Kinnara/ModernWpf that referenced this pull request Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AutoSuggestBox area-Styling area-TextBlocks TextBlock, RichTextBlock team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants