|
30 | 30 | <StackPanel> |
31 | 31 | <StackPanel DockPanel.Dock="Top" Orientation="Vertical"> |
32 | 32 | <StackPanel Margin="8 0"> |
33 | | - <TextBlock FontSize="16" VerticalAlignment="Center"> |
34 | | - <Run FontWeight="SemiBold" Text="{Binding CheckSuiteName, Mode=OneWay}"/> |
35 | | - <Run Text="/"/> |
36 | | - <Run FontWeight="SemiBold" Text="{Binding CheckRunName, Mode=OneWay}"/> |
| 33 | + <TextBlock FontSize="16" VerticalAlignment="Center"> |
| 34 | + <Run FontWeight="SemiBold" Text="{Binding CheckSuiteName, Mode=OneWay}"/> |
| 35 | + <Run Text="/"/> |
| 36 | + <Run FontWeight="SemiBold" Text="{Binding CheckRunName, Mode=OneWay}"/> |
37 | 37 |
|
38 | | - <Run>for</Run> |
| 38 | + <Run>for</Run> |
39 | 39 |
|
40 | | - <Hyperlink Command="{Binding NavigateToPullRequest}"> |
41 | | - <Run>#</Run><Run Text="{Binding PullRequestNumber, Mode=OneWay}"/> |
42 | | - </Hyperlink> |
43 | | - </TextBlock> |
44 | | - |
45 | | - <TextBlock Foreground="{DynamicResource GitHubVsGrayText}" |
46 | | - Margin="0" |
47 | | - Text="{Binding PullRequestTitle}" |
48 | | - TextWrapping="Wrap"/> |
| 40 | + <Hyperlink Command="{Binding NavigateToPullRequest}"> |
| 41 | + <Run>#</Run><Run Text="{Binding PullRequestNumber, Mode=OneWay}"/> |
| 42 | + </Hyperlink> |
| 43 | + </TextBlock> |
49 | 44 |
|
50 | | - |
| 45 | + <TextBlock Foreground="{DynamicResource GitHubVsGrayText}" |
| 46 | + Margin="0" |
| 47 | + Text="{Binding PullRequestTitle}" |
| 48 | + TextWrapping="Wrap"/> |
51 | 49 | </StackPanel> |
52 | 50 | <Expander Header="Body" Margin="0 4" |
53 | 51 | FontWeight="SemiBold" |
54 | 52 | Visibility="{Binding CheckRunSummary, Converter={ghfvs:NullOrWhitespaceToVisibilityConverter}}"> |
55 | 53 | <markdig:MarkdownViewer Margin="21 0 8 0" FontWeight="Normal" Markdown="{Binding CheckRunSummary}" /> |
56 | 54 | </Expander> |
57 | 55 |
|
58 | | - <Expander Header="Details" |
59 | | - FontWeight="SemiBold" |
60 | | - Margin="0 4" |
| 56 | + <Expander Margin="0 4" |
61 | 57 | Visibility="{Binding CheckRunText, Converter={ghfvs:NullOrWhitespaceToVisibilityConverter}}"> |
| 58 | + <Expander.Header> |
| 59 | + <TextBlock FontWeight="SemiBold" Text="Details" /> |
| 60 | + </Expander.Header> |
62 | 61 | <TextBlock Margin="21 0 8 0" FontFamily="Consolas" |
63 | | - FontWeight="Normal" |
64 | 62 | Foreground="{DynamicResource VsBrush.GrayText}"> |
65 | 63 | <Run Text="{Binding CheckRunText, Mode=OneWay}"/> |
66 | 64 | </TextBlock> |
|
71 | 69 | <ItemsControl ItemsSource="{Binding AnnotationsDictionary}"> |
72 | 70 | <ItemsControl.ItemTemplate> |
73 | 71 | <DataTemplate> |
74 | | - <StackPanel> |
| 72 | + <StackPanel Margin="0 4"> |
75 | 73 | <Expander> |
76 | 74 | <Expander.Header> |
77 | | - <Label Foreground="{DynamicResource VsBrush.WindowText}" Content="{Binding Key}" FontWeight="SemiBold" ToolTip="{Binding Key}" /> |
| 75 | + <TextBlock Foreground="{DynamicResource VsBrush.WindowText}" Text="{Binding Key}" FontWeight="SemiBold" ToolTip="{Binding Key}" /> |
78 | 76 | </Expander.Header> |
79 | 77 |
|
80 | 78 | <ItemsControl ItemsSource="{Binding Value}"> |
|
0 commit comments