|
11 | 11 | <ghfvs:InlineAnnotationViewModelDesigner /> |
12 | 12 | </d:DesignProperties.DataContext> |
13 | 13 |
|
14 | | - <StackPanel Orientation="Vertical"> |
15 | | - <StackPanel Orientation="Horizontal"> |
| 14 | + <Grid Margin="4"> |
| 15 | + <Grid.ColumnDefinitions> |
| 16 | + <ColumnDefinition Width="4" /> |
| 17 | + <ColumnDefinition Width="Auto" /> |
| 18 | + </Grid.ColumnDefinitions> |
| 19 | + |
| 20 | + <Grid.RowDefinitions> |
| 21 | + <RowDefinition Height="Auto" /> |
| 22 | + <RowDefinition Height="Auto" /> |
| 23 | + <RowDefinition Height="Auto" /> |
| 24 | + <RowDefinition Height="Auto" /> |
| 25 | + <RowDefinition Height="Auto" /> |
| 26 | + </Grid.RowDefinitions> |
| 27 | + |
| 28 | + |
| 29 | + <StackPanel Background="Blue" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" /> |
| 30 | + |
| 31 | + <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Grid.Row="0" Grid.Column="1"> |
16 | 32 | <ghfvs:OcticonImage Margin="0 0 0 0" MinWidth="20" Icon="search" Foreground="CornflowerBlue" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Notice}}"/> |
17 | 33 | <ghfvs:OcticonImage Margin="0 0 0 0" MinWidth="20" Icon="alert" Foreground="#f1c647" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Warning}}"/> |
18 | 34 | <ghfvs:OcticonImage Margin="0 0 0 0" MinWidth="20" Icon="x" Foreground="#cb2431" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Failure}}"/> |
| 35 | + |
| 36 | + <TextBlock FontWeight="SemiBold" Margin="2 0"> |
| 37 | + <Run Text="{Binding Model.CheckSuiteName, Mode=OneWay}"/> |
| 38 | + <Run Text="/"/> |
| 39 | + <Run Text="{Binding Model.CheckRunName, Mode=OneWay}"/> |
| 40 | + </TextBlock> |
19 | 41 | </StackPanel> |
20 | | - <TextBlock FontWeight="SemiBold" Margin="2 0"> |
21 | | - <Run Text="{Binding Model.CheckSuiteName, Mode=OneWay}"/> |
22 | | - </TextBlock> |
23 | | - <TextBlock FontWeight="SemiBold" Margin="2 0"> |
24 | | - <Run Text="{Binding Model.CheckRunName, Mode=OneWay}"/> |
25 | | - </TextBlock> |
26 | | - <TextBlock FontWeight="SemiBold" Margin="2 0"> |
| 42 | + |
| 43 | + <TextBlock FontWeight="SemiBold" Margin="2 0" Grid.Column="1" Grid.Row="2"> |
27 | 44 | <Run Text="{Binding Model.Title, Mode=OneWay}"/> |
28 | 45 | </TextBlock> |
29 | | - <TextBlock Margin="5 4 0 0"> |
| 46 | + |
| 47 | + <TextBlock Margin="5 4 0 0" Grid.Column="1" Grid.Row="3"> |
30 | 48 | <Run Text="{Binding Model.Path, Mode=OneWay}"/> |
31 | 49 | <Run FontWeight="SemiBold" Text="{Binding Model.LineDescription, Mode=OneWay}"/> |
32 | 50 | </TextBlock> |
33 | | - <markdig:MarkdownViewer Margin="5 0 0 0" Markdown="{Binding Model.Message}"/> |
34 | | - </StackPanel> |
35 | 51 |
|
| 52 | + <markdig:MarkdownViewer Grid.Column="1" Grid.Row="4" Margin="5 0 0 0" FontSize="12" Markdown="{Binding Model.Message}"/> |
| 53 | + </Grid> |
36 | 54 | </UserControl> |
37 | 55 |
|
0 commit comments