Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 38202c4

Browse files
committed
Fix background of dialog window
1 parent 2d348d1 commit 38202c4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/GitHub.VisualStudio.TestApp/GitHub.VisualStudio.TestApp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
<Compile Include="ThemeControl.xaml.cs">
102102
<DependentUpon>ThemeControl.xaml</DependentUpon>
103103
</Compile>
104-
<Compile Include="Views\GitHubDialogWindow.xaml.cs">
105-
<DependentUpon>GitHubDialogWindow.xaml</DependentUpon>
104+
<Compile Include="Views\ExternalGitHubDialogWindow.xaml.cs">
105+
<DependentUpon>ExternalGitHubDialogWindow.xaml</DependentUpon>
106106
</Compile>
107107
<Page Include="MainWindow.xaml">
108108
<Generator>MSBuild:Compile</Generator>
@@ -268,7 +268,7 @@
268268
<Generator>MSBuild:Compile</Generator>
269269
<SubType>Designer</SubType>
270270
</Page>
271-
<Page Include="Views\GitHubDialogWindow.xaml">
271+
<Page Include="Views\ExternalGitHubDialogWindow.xaml">
272272
<Generator>MSBuild:Compile</Generator>
273273
<SubType>Designer</SubType>
274274
</Page>

src/GitHub.VisualStudio.TestApp/Views/GitHubDialogWindow.xaml renamed to src/GitHub.VisualStudio.TestApp/Views/ExternalGitHubDialogWindow.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
Height="460"
1111
MinWidth="414"
1212
MinHeight="460"
13-
Background="White"
1413
FontFamily="Segoe UI"
1514
FontSize="12"
1615
FontStretch="Normal"
@@ -19,6 +18,9 @@
1918
SnapsToDevicePixels="True"
2019
UseLayoutRounding="True"
2120
WindowStartupLocation="CenterOwner"
21+
xmlns:vs="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0"
22+
Background="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowBackgroundBrushKey}}"
23+
Foreground="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowTextBrushKey}}"
2224
Content="{Binding Content}">
2325
<Window.Resources>
2426
<ghfvs:ViewLocator x:Key="viewLocator"/>

src/GitHub.VisualStudio.TestApp/Views/GitHubDialogWindow.xaml.cs renamed to src/GitHub.VisualStudio.TestApp/Views/ExternalGitHubDialogWindow.xaml.cs

File renamed without changes.

0 commit comments

Comments
 (0)