Skip to content

Theme some dialogs#55971

Merged
ryzngard merged 12 commits intodotnet:mainfrom
ryzngard:features/theme_dialogs
Jul 12, 2022
Merged

Theme some dialogs#55971
ryzngard merged 12 commits intodotnet:mainfrom
ryzngard:features/theme_dialogs

Conversation

@ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Aug 27, 2021

Theme pull members up, extract interface, and extract class.

Extract Class

image

image

Extract Interface

image

image

Pull Members Up

image

image

@ghost ghost added the Area-IDE label Aug 27, 2021
@JoeRobich
Copy link
Member

We reverted theming the new Move static members dialog (#56013) and will update your feature branch with our changes once it is merged to dev17.1.

@ghost ghost added the Needs UX Triage label Dec 28, 2021
@ryzngard ryzngard changed the base branch from features/dialog_theming to main December 28, 2021 21:56
@ryzngard ryzngard marked this pull request as ready for review December 28, 2021 23:03
@ryzngard ryzngard requested a review from a team as a code owner December 28, 2021 23:03
@ryzngard ryzngard added UX Review Not Required UX Review Not Required and removed Needs UX Triage labels Apr 21, 2022
Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +54 to +57
<Style TargetType="DataGridColumnHeader" BasedOn="{StaticResource {x:Type DataGridColumnHeader}}">
<Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.ToolWindowTextKey}}" />
<Setter Property="Background" Value="{DynamicResource {x:Static vsui:HeaderColors.DefaultBrushKey}}" />
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static vsui:HeaderColors.SeparatorLineBrushKey}}" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this theme the Sort arrow in the header?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure the sort arrow is done here, this should be for the header's border around the cell. Need to double check if arrows are broken by this.

</StackPanel>
</Grid>

<ContentPresenter Content="{Binding ElementName=dialog, Path=MemberSelectionControl}" Margin="9, 9, 9, 7" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@ryzngard ryzngard enabled auto-merge (squash) July 7, 2022 20:41
@ryzngard ryzngard merged commit 2cd995d into dotnet:main Jul 12, 2022
@ryzngard ryzngard deleted the features/theme_dialogs branch July 12, 2022 20:08
@ghost ghost added this to the Next milestone Jul 12, 2022
adamperlin pushed a commit to adamperlin/roslyn that referenced this pull request Jul 19, 2022
Theme dialogs to be consistent with VS theming. This adds a resource dictionary that can be used to cover _most_ scenarios.
@allisonchou allisonchou removed this from the Next milestone Jul 26, 2022
@allisonchou allisonchou added this to the 17.4 P1 milestone Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants