PowerToys/src/modules/launcher/PowerLauncher/ReportWindow.xaml
Niels Laute 17b40aa10a
[Run] Fixing UI issues (#8681)
* UI fixes

* Added dlls to installer

* Accent color tweaks + sync

* Added cornerradius to selection highlight border

* Increase icon's radius

Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
2021-01-06 19:00:36 +01:00

73 lines
3.1 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"
xmlns:ui="http://schemas.modernwpf.com/2019"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Background="{DynamicResource SystemChromeLow}"
Topmost="True"
ui:WindowHelper.UseModernWindowStyle="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">
<Grid Margin="12">
<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="-8,16,-8,16"
FontSize="14"
FontFamily="Consolas"
Foreground="{DynamicResource ControlTextBrushKey}"
IsReadOnly="True"
TextWrapping="Wrap"/>
<RichTextBox x:Name="ErrorTextbox"
Grid.Row="3"
BorderThickness="1"
Background="Transparent"
IsDocumentEnabled="True"
Foreground="{DynamicResource ControlTextBrushKey}"
VerticalAlignment="Stretch"
FontFamily="Consolas"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"
FontSize="14"/>
</Grid>
</Window>