From 270d7014ba8ac61d311f6a11b2186ebcaf88d4f7 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Wed, 8 Aug 2018 12:22:32 +0200 Subject: [PATCH 1/2] Style TreeViewItem to match VS's theme. --- .../Styles/ItemsControls.xaml | 147 ++++++++++++++++++ .../GitHubPane/PullRequestDetailView.xaml | 1 + .../GitHubPane/PullRequestFilesView.xaml | 3 +- 3 files changed, 149 insertions(+), 2 deletions(-) diff --git a/src/GitHub.VisualStudio.UI/Styles/ItemsControls.xaml b/src/GitHub.VisualStudio.UI/Styles/ItemsControls.xaml index b292e0244..1433547da 100644 --- a/src/GitHub.VisualStudio.UI/Styles/ItemsControls.xaml +++ b/src/GitHub.VisualStudio.UI/Styles/ItemsControls.xaml @@ -74,4 +74,151 @@ + + + + + + + + \ No newline at end of file diff --git a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml index 8813d3627..149b127cf 100644 --- a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml +++ b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml @@ -256,6 +256,7 @@ diff --git a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml index 0927db418..a55f7def8 100644 --- a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml +++ b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml @@ -43,9 +43,8 @@ MouseDoubleClick="changesTree_MouseDoubleClick" MouseRightButtonDown="changesTree_MouseRightButtonDown"> - From d98bd4e04fbef2bf0066b49e94f903dc2e07aa71 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Wed, 8 Aug 2018 16:21:42 +0200 Subject: [PATCH 2/2] Vertically align file icons. --- .../Views/GitHubPane/PullRequestFilesView.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml index a55f7def8..009ff5a63 100644 --- a/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml +++ b/src/GitHub.VisualStudio/Views/GitHubPane/PullRequestFilesView.xaml @@ -66,7 +66,7 @@ KeyboardNavigation.DirectionalNavigation="None"> + Width="16" Height="16" Margin="0,2"/>