Skip to content

Commit 66a8c59

Browse files
committed
Fixes #2
Ensure file list dialog uses the editor Environment font and size.
1 parent 7919800 commit 66a8c59

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

ListFiles.xaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@
1010
Closing="Window_Closing">
1111

1212
<Window.Resources>
13+
<Style TargetType="Button">
14+
<Setter Property="FontFamily" Value="{DynamicResource VsFont.EnvironmentFontFamily}" />
15+
<Setter Property="FontSize" Value="{DynamicResource VsFont.EnvironmentFontSize}" />
16+
</Style>
1317
<Style TargetType="DataGrid">
1418
<Setter Property="Foreground" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowTextBrushKey}}"/>
1519
<Setter Property="Background" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowBackgroundBrushKey}}"/>
20+
<Setter Property="FontFamily" Value="{DynamicResource VsFont.EnvironmentFontFamily}" />
21+
<Setter Property="FontSize" Value="{DynamicResource VsFont.EnvironmentFontSize}" />
1622
</Style>
1723
<Style TargetType="DataGridColumnHeader">
1824
<Setter Property="Foreground" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.GridHeadingTextBrushKey}}"/>
@@ -47,17 +53,23 @@
4753
<Style TargetType="TextBlock">
4854
<Setter Property="Foreground" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowTextBrushKey}}"/>
4955
<Setter Property="Background" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowBackgroundBrushKey}}"/>
56+
<Setter Property="FontFamily" Value="{DynamicResource VsFont.EnvironmentFontFamily}" />
57+
<Setter Property="FontSize" Value="{DynamicResource VsFont.EnvironmentFontSize}" />
5058
</Style>
5159
<Style TargetType="TextBox">
5260
<Setter Property="Foreground" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowTextBrushKey}}"/>
5361
<Setter Property="Background" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowBackgroundBrushKey}}"/>
62+
<Setter Property="FontFamily" Value="{DynamicResource VsFont.EnvironmentFontFamily}" />
63+
<Setter Property="FontSize" Value="{DynamicResource VsFont.EnvironmentFontSize}" />
5464
</Style>
5565
<Style TargetType="Grid">
5666
<Setter Property="Background" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowBackgroundBrushKey}}"/>
5767
</Style>
5868
<Style TargetType="CheckBox">
5969
<Setter Property="Foreground" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowTextBrushKey}}"/>
6070
<Setter Property="Background" Value="{DynamicResource {x:Static vs_shell:EnvironmentColors.ToolWindowBackgroundBrushKey}}"/>
71+
<Setter Property="FontFamily" Value="{DynamicResource VsFont.EnvironmentFontFamily}" />
72+
<Setter Property="FontSize" Value="{DynamicResource VsFont.EnvironmentFontSize}" />
6173
<Setter Property="Template">
6274
<Setter.Value>
6375
<ControlTemplate TargetType="{x:Type CheckBox}">

0 commit comments

Comments
 (0)