PowerToys/src/modules/launcher/PowerLauncher/ReportWindow.xaml
Niels Laute 274c009f20
[PT Run] Updated borderbrush to improve accessibility for dark mode (#7141)
* Updated borderbrush

* Update src/modules/launcher/PowerLauncher/LauncherControl.xaml

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>

* Fixed bug

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>
2020-10-08 20:14:00 -07:00

79 lines
3.5 KiB
XML

<Window x:Class="PowerLauncher.ReportWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:p="clr-namespace:PowerLauncher.Properties"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Background="{DynamicResource SystemChromeLow}"
Icon="Images/app_error.dark.png"
Topmost="True"
ResizeMode="NoResize"
Width="760"
Height="560"
Title="{x:Static p:Resources.reportWindow_wox_got_an_error}"
d:DesignHeight="300" d:DesignWidth="600" x:ClassModifier="internal">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Styles/ModernScrollBarStyle.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid Margin="24">
<Grid.RowDefinitions>
<RowDefinition Height="64"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="{x:Static p:Resources.reportWindow_header}"
FontFamily="Segoe UI Light"
FontSize="32"
Foreground="{DynamicResource ControlTextBrushKey}"/>
<TextBlock FontSize="14"
Grid.Row="1"
TextWrapping="Wrap"
Foreground="{DynamicResource ControlTextBrushKey}">
<Run Text="{x:Static p:Resources.reportWindow_file_bug}"/>
<Hyperlink x:Name="RepositoryHyperlink"
Click="RepositoryHyperlink_Click"
FontWeight="SemiBold"
NavigateUri="https://aka.ms/powerToysReportBug">
<Run Text="{x:Static p:Resources.reportWindow_github_repo}"/>
</Hyperlink>
<Run Text="{x:Static p:Resources.reportWindow_period}"/>
<Run Text="{x:Static p:Resources.reportWindow_upload_log}"/>
</TextBlock>
<TextBox Background="Transparent"
BorderThickness="0"
Grid.Row="2"
x:Name="LogFilePathBox"
Margin="0,16,0,0"
FontSize="14"
FontFamily="Consolas"
Foreground="{DynamicResource ControlTextBrushKey}"
IsReadOnly="True"
TextWrapping="Wrap">
</TextBox>
<RichTextBox x:Name="ErrorTextbox"
Grid.Row="3"
BorderBrush="{DynamicResource ScrollBarThumbBackground}"
BorderThickness="1"
Background="Transparent"
IsDocumentEnabled="True"
Foreground="{DynamicResource ControlTextBrushKey}"
VerticalAlignment="Stretch"
FontFamily="Consolas"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"
FontSize="14"/>
</Grid>
</Window>