|
1 | 1 | <Window x:Class="Exceptionless.Dialogs.CrashReportDialog"
|
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
4 |
| - Title="[AppName] Error" Height="500" Width="425" |
| 4 | + Title="[AppName] Error" Height="525" Width="425" |
5 | 5 | WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"
|
6 | 6 | Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"
|
7 | 7 | FocusManager.FocusedElement="{Binding ElementName=DescriptionTextBox}"
|
8 | 8 | Icon="../Images/ErrorFeedback.png">
|
9 | 9 | <Grid>
|
10 | 10 | <Grid.RowDefinitions>
|
11 |
| - <RowDefinition Height="56" /> |
12 |
| - <RowDefinition Height="451*" /> |
| 11 | + <RowDefinition Height="60" /> |
| 12 | + <RowDefinition Height="*" /> |
13 | 13 | <RowDefinition Height="Auto" />
|
14 | 14 | </Grid.RowDefinitions>
|
15 | 15 |
|
16 | 16 | <Grid Name="headerGrid" Background="White">
|
17 | 17 | <Grid.ColumnDefinitions>
|
18 | 18 | <ColumnDefinition Width="363*" />
|
19 |
| - <ColumnDefinition Width="56" /> |
| 19 | + <ColumnDefinition Width="60" /> |
20 | 20 | </Grid.ColumnDefinitions>
|
21 |
| - <TextBlock Name="InformationHeaderLabel" TextWrapping="WrapWithOverflow" Margin="6" FontWeight="Bold"> |
| 21 | + <TextBlock Name="InformationHeaderLabel" TextWrapping="WrapWithOverflow" Margin="12" FontWeight="Bold"> |
22 | 22 | [AppName] has encountered a problem and needs to close. We are sorry for the inconvenience.
|
23 | 23 | </TextBlock>
|
24 |
| - <Image Name="errorImage" Grid.Column="2" Stretch="Fill" |
| 24 | + <Image Name="errorImage" Grid.Column="2" |
25 | 25 | Source="../Images/ErrorFeedback.png"
|
26 | 26 | HorizontalAlignment="Center" VerticalAlignment="Center" Width="48" Height="48" />
|
27 | 27 | </Grid>
|
28 | 28 |
|
29 |
| - <StackPanel Grid.Row="1" Name="mainStackPanel"> |
30 |
| - <TextBlock Name="errorMessage" TextWrapping="WrapWithOverflow" Margin="6"> |
| 29 | + <StackPanel Grid.Row="1" Name="mainStackPanel" Margin="12"> |
| 30 | + <TextBlock Name="errorMessage" TextWrapping="WrapWithOverflow"> |
31 | 31 | If you were in the middle of something, the information you were working on might be lost.<LineBreak/>
|
32 | 32 | <LineBreak/>
|
33 | 33 | We have created an error report that you can send to us. We will treat this error as confidential and anonymous.<LineBreak/>
|
34 | 34 | <LineBreak/>
|
35 |
| - To help us diagnose the cause of this error and improve the software, please enter your email address, describe what you were doing when this error occurred, and send this error to us.<LineBreak/> |
| 35 | + To help us diagnose the cause of this error and improve the software, please enter your email address, describe what you were doing when this error occurred, and send this error to us. |
36 | 36 | </TextBlock>
|
37 | 37 |
|
38 |
| - <Label Name="emailAddressLabel" Margin="6,0" |
| 38 | + <Label Name="emailAddressLabel" |
39 | 39 | HorizontalAlignment="Left"
|
40 | 40 | VerticalAlignment="Top"
|
| 41 | + Margin="0,6,0,0" |
41 | 42 | Content="Your _email address (optional):" />
|
42 | 43 | <TextBox Name="EmailAddressTextBox"
|
43 |
| - HorizontalAlignment="Left" |
| 44 | + HorizontalAlignment="Stretch" |
44 | 45 | VerticalAlignment="Top"
|
45 |
| - Width="358" |
46 |
| - Margin="6,0" /> |
| 46 | + |
| 47 | + /> |
47 | 48 |
|
48 | 49 | <Label Name="descriptionLabel"
|
49 | 50 | HorizontalAlignment="Left"
|
50 |
| - VerticalAlignment="Top" |
51 |
| - Margin="6,0" |
| 51 | + VerticalAlignment="Top" |
| 52 | + Margin="0,6,0,0" |
52 | 53 | Content="_Describe what you were doing when the error occurred (optional): " />
|
53 | 54 | <TextBox Name="DescriptionTextBox"
|
54 |
| - Height="120" Width="358" |
55 |
| - HorizontalAlignment="Left" |
| 55 | + Height="120" |
| 56 | + HorizontalAlignment="Stretch" |
56 | 57 | VerticalAlignment="Top"
|
57 | 58 | TextWrapping="Wrap"
|
58 | 59 | VerticalScrollBarVisibility="Auto"
|
59 | 60 | HorizontalScrollBarVisibility ="Visible"
|
60 | 61 | SpellCheck.IsEnabled="True"
|
61 |
| - Margin="6,0" /> |
| 62 | + /> |
62 | 63 |
|
63 | 64 | <!--<TextBlock Name="detailTextBlock"
|
64 | 65 | HorizontalAlignment="Left"
|
|
71 | 72 | <DockPanel Grid.Row="2" Margin="6">
|
72 | 73 | <Button Name="CancelButton"
|
73 | 74 | DockPanel.Dock="Right"
|
74 |
| - Height="23" Width="75" |
| 75 | + Height="23" MinWidth="75" |
75 | 76 | HorizontalAlignment="Right"
|
76 | 77 | Margin="4"
|
| 78 | + Padding="8,0,8,0" |
77 | 79 | IsCancel="True"
|
78 | 80 | Content="_Cancel" />
|
79 | 81 | <Button Name="SubmitReportButton"
|
80 | 82 | DockPanel.Dock="Right"
|
81 |
| - Height="23" Width="100" |
| 83 | + Height="23" MinWidth="100" |
82 | 84 | HorizontalAlignment="Right"
|
83 | 85 | Margin="4"
|
| 86 | + Padding="8,0,8,0" |
84 | 87 | IsDefault="True"
|
85 | 88 | Content="_Submit Report"
|
86 | 89 | Click="OnSubmitReportButtonClick" />
|
|
0 commit comments