Skip to content

Commit

Permalink
Fix reportwindow in dark mode (microsoft#30387)
Browse files Browse the repository at this point in the history
  • Loading branch information
niels9001 authored Dec 12, 2023
1 parent 3f54968 commit cc60511
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/modules/launcher/PowerLauncher/ReportWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,23 @@
Topmost="True"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Grid Margin="12">
<Grid Margin="12" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="64" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<TextBlock
FontFamily="Segoe UI Light"
FontSize="32"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
FontSize="24"
FontWeight="SemiBold"
Foreground="Black"
Text="{x:Static p:Resources.reportWindow_header}" />

<TextBlock
Grid.Row="1"
FontSize="14"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="Black"
TextWrapping="Wrap">
<Run Text="{x:Static p:Resources.reportWindow_file_bug}" />
<Hyperlink
Expand All @@ -49,12 +48,12 @@
<TextBox
x:Name="LogFilePathBox"
Grid.Row="2"
Margin="-8,16,-8,16"
Margin="0,16,0,16"
Background="Transparent"
BorderThickness="0"
BorderBrush="Black"
BorderThickness="1"
FontFamily="Consolas"
FontSize="14"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="Black"
IsReadOnly="True"
TextWrapping="Wrap" />

Expand All @@ -63,10 +62,10 @@
Grid.Row="3"
VerticalAlignment="Stretch"
Background="Transparent"
BorderBrush="Black"
BorderThickness="1"
FontFamily="Consolas"
FontSize="14"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="Black"
HorizontalScrollBarVisibility="Auto"
IsDocumentEnabled="True"
VerticalScrollBarVisibility="Auto" />
Expand Down

0 comments on commit cc60511

Please sign in to comment.