Fix reportwindow in dark mode (#30387)

This commit is contained in:
Niels Laute
2023-12-12 14:14:44 +01:00
committed by GitHub
parent 3f54968d8c
commit cc605113cf

View File

@@ -15,24 +15,23 @@
Topmost="True" Topmost="True"
WindowStartupLocation="CenterScreen" WindowStartupLocation="CenterScreen"
mc:Ignorable="d"> mc:Ignorable="d">
<Grid Margin="12"> <Grid Margin="12" Background="White">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="64" /> <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock <TextBlock
FontFamily="Segoe UI Light" FontSize="24"
FontSize="32" FontWeight="SemiBold"
Foreground="{DynamicResource TextFillColorPrimaryBrush}" Foreground="Black"
Text="{x:Static p:Resources.reportWindow_header}" /> Text="{x:Static p:Resources.reportWindow_header}" />
<TextBlock <TextBlock
Grid.Row="1" Grid.Row="1"
FontSize="14" Foreground="Black"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
TextWrapping="Wrap"> TextWrapping="Wrap">
<Run Text="{x:Static p:Resources.reportWindow_file_bug}" /> <Run Text="{x:Static p:Resources.reportWindow_file_bug}" />
<Hyperlink <Hyperlink
@@ -49,12 +48,12 @@
<TextBox <TextBox
x:Name="LogFilePathBox" x:Name="LogFilePathBox"
Grid.Row="2" Grid.Row="2"
Margin="-8,16,-8,16" Margin="0,16,0,16"
Background="Transparent" Background="Transparent"
BorderThickness="0" BorderBrush="Black"
BorderThickness="1"
FontFamily="Consolas" FontFamily="Consolas"
FontSize="14" Foreground="Black"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
IsReadOnly="True" IsReadOnly="True"
TextWrapping="Wrap" /> TextWrapping="Wrap" />
@@ -63,10 +62,10 @@
Grid.Row="3" Grid.Row="3"
VerticalAlignment="Stretch" VerticalAlignment="Stretch"
Background="Transparent" Background="Transparent"
BorderBrush="Black"
BorderThickness="1" BorderThickness="1"
FontFamily="Consolas" FontFamily="Consolas"
FontSize="14" Foreground="Black"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
HorizontalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"
IsDocumentEnabled="True" IsDocumentEnabled="True"
VerticalScrollBarVisibility="Auto" /> VerticalScrollBarVisibility="Auto" />