Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does the pull request do?
Fixes a few issues with the
ColorView
andColorPicker
in simple theme. I was always hoping simple theme was going away so the initial theme was only functional. This fixes a few issues though which is important now that it's used in dev tools and things.What is the current behavior?
TextBox
is badNumericUpDown
shows a vertical scrollbar when it shouldn'tWhat is the updated/expected behavior with this PR?
TabControl
theme but I'm not fixing it there to avoid breaking other code. I'm just adding a transparent background in the color picker templates instead.TextBox
is badTextBox
IMO but I'm not fixing it generically as it would be breaking. Instead, I'm just copying the better padding from the Fluent theme to use here. The Fluent theme is designed for 32px height controls already.NumericUpDown
shows a vertical scrollbar when it shouldn'tTextBox
in the simple theme. I didn't feel like addressing the issue there. However, it was fixed for allNumericUpDown
controls. These controls should always be one line so don't require vertical scrolling. Therefore, vertical scrolling was just disabled across the board for this control.How was the solution implemented (if it's not obvious)?
As described above.
Checklist
Breaking changes
None
Obsoletions / Deprecations
None
Fixed issues
Fixes #16497