-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTroubleshootingDialog.xaml
More file actions
92 lines (86 loc) · 3.19 KB
/
Copy pathTroubleshootingDialog.xaml
File metadata and controls
92 lines (86 loc) · 3.19 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<Window x:Class="boinc_buda_runner_wsl_installer.TroubleshootingDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Troubleshooting Guidance"
Height="550"
Width="650"
WindowStartupLocation="CenterOwner"
ShowInTaskbar="False"
ResizeMode="CanResize"
MinHeight="400"
MinWidth="500">
<Window.Resources>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
<Setter Property="Margin" Value="0,0,0,8"/>
</Style>
</Window.Resources>
<Grid Margin="15">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- Title -->
<TextBlock Grid.Row="0"
x:Name="TitleTextBlock"
FontSize="18"
FontWeight="Bold"
Margin="0,0,0,15"/>
<!-- Content -->
<ScrollViewer Grid.Row="1"
VerticalScrollBarVisibility="Auto"
Margin="0,0,0,15">
<StackPanel>
<!-- Description -->
<TextBlock x:Name="DescriptionTextBlock"
FontSize="13"
Margin="0,0,0,15"
TextWrapping="Wrap"/>
<!-- Steps -->
<TextBlock x:Name="StepsTextBlock"
FontFamily="Consolas"
FontSize="12"
Background="#F5F5F5"
Padding="10"
TextWrapping="Wrap"/>
</StackPanel>
</ScrollViewer>
<!-- Resources -->
<Expander Grid.Row="2"
x:Name="ResourcesExpander"
Header="Additional Resources"
IsExpanded="False"
Margin="0,0,0,15">
<TextBlock x:Name="ResourcesTextBlock"
FontSize="11"
Padding="10,5,0,5"
TextWrapping="Wrap"/>
</Expander>
<!-- Buttons -->
<StackPanel Grid.Row="3"
Orientation="Horizontal"
HorizontalAlignment="Right">
<Button x:Name="CopyButton"
Content="Copy to Clipboard"
Width="130"
Height="30"
Margin="0,0,10,0"
Click="CopyButton_Click"/>
<Button x:Name="ReportIssueButton"
Content="Report Issue on GitHub"
Width="160"
Height="30"
Margin="0,0,10,0"
Click="ReportIssueButton_Click"
Visibility="Visible"/>
<Button x:Name="CloseButton"
Content="Close"
Width="80"
Height="30"
IsDefault="True"
Click="CloseButton_Click"/>
</StackPanel>
</Grid>
</Window>