forked from microsoft/PowerToys
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReportWindow.xaml
More file actions
73 lines (69 loc) · 2.51 KB
/
ReportWindow.xaml
File metadata and controls
73 lines (69 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<Window
x:Class="PowerLauncher.ReportWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:p="clr-namespace:PowerLauncher.Properties"
Title="{x:Static p:Resources.reportWindow_wox_got_an_error}"
Width="760"
Height="560"
d:DesignHeight="300"
d:DesignWidth="600"
x:ClassModifier="internal"
ResizeMode="NoResize"
Topmost="True"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Grid Margin="12" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock
FontSize="24"
FontWeight="SemiBold"
Foreground="Black"
Text="{x:Static p:Resources.reportWindow_header}" />
<TextBlock
Grid.Row="1"
Foreground="Black"
TextWrapping="Wrap">
<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
x:Name="LogFilePathBox"
Grid.Row="2"
Margin="0,16,0,16"
Background="Transparent"
BorderBrush="Black"
BorderThickness="1"
FontFamily="Consolas"
Foreground="Black"
IsReadOnly="True"
TextWrapping="Wrap" />
<RichTextBox
x:Name="ErrorTextbox"
Grid.Row="3"
VerticalAlignment="Stretch"
Background="Transparent"
BorderBrush="Black"
BorderThickness="1"
FontFamily="Consolas"
Foreground="Black"
HorizontalScrollBarVisibility="Auto"
IsDocumentEnabled="True"
VerticalScrollBarVisibility="Auto" />
</Grid>
</Window>