|
11 | 11 | <ghfvs:InlineAnnotationViewModelDesigner /> |
12 | 12 | </d:DesignProperties.DataContext> |
13 | 13 |
|
14 | | - <Grid Margin="0 0 0 4"> |
15 | | - <Grid.ColumnDefinitions> |
16 | | - <ColumnDefinition Width="4" /> |
17 | | - <ColumnDefinition Width="Auto" /> |
18 | | - </Grid.ColumnDefinitions> |
| 14 | + <Border BorderBrush="{DynamicResource VsBrush.ButtonBorder}" BorderThickness="1" HorizontalAlignment="Stretch" Margin="0 0 0 4"> |
| 15 | + <Grid Background="{DynamicResource VsBrush.ToolWindowBackground}" HorizontalAlignment="Stretch"> |
| 16 | + <Grid.ColumnDefinitions> |
| 17 | + <ColumnDefinition Width="4" /> |
| 18 | + <ColumnDefinition Width="Auto" /> |
| 19 | + </Grid.ColumnDefinitions> |
19 | 20 |
|
20 | | - <Grid.RowDefinitions> |
21 | | - <RowDefinition Height="Auto" /> |
22 | | - </Grid.RowDefinitions> |
| 21 | + <Grid.RowDefinitions> |
| 22 | + <RowDefinition Height="Auto" /> |
| 23 | + </Grid.RowDefinitions> |
23 | 24 |
|
24 | | - <StackPanel Background="Blue" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" /> |
| 25 | + <StackPanel Background="#f8d45c" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" /> |
25 | 26 |
|
26 | | - <Border Grid.Column="1" Padding="8"> |
27 | | - <Grid> |
28 | | - <Grid.ColumnDefinitions> |
29 | | - <ColumnDefinition Width="Auto" /> |
30 | | - <ColumnDefinition Width="*" /> |
31 | | - </Grid.ColumnDefinitions> |
| 27 | + <Border Grid.Column="1" Padding="8"> |
| 28 | + <Grid> |
| 29 | + <Grid.ColumnDefinitions> |
| 30 | + <ColumnDefinition Width="Auto" /> |
| 31 | + <ColumnDefinition Width="*" /> |
| 32 | + </Grid.ColumnDefinitions> |
32 | 33 |
|
33 | | - <Grid.RowDefinitions> |
34 | | - <RowDefinition Height="Auto" /> |
35 | | - <RowDefinition Height="Auto" /> |
36 | | - <RowDefinition Height="Auto" /> |
37 | | - <RowDefinition Height="Auto" /> |
38 | | - </Grid.RowDefinitions> |
| 34 | + <Grid.RowDefinitions> |
| 35 | + <RowDefinition Height="Auto" /> |
| 36 | + <RowDefinition Height="Auto" /> |
| 37 | + <RowDefinition Height="Auto" /> |
| 38 | + <RowDefinition Height="Auto" /> |
| 39 | + </Grid.RowDefinitions> |
39 | 40 |
|
40 | | - <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="search" Foreground="CornflowerBlue" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Notice}}"/> |
41 | | - <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="alert" Foreground="#f1c647" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Warning}}"/> |
42 | | - <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="x" Foreground="#cb2431" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Failure}}"/> |
| 41 | + <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="search" Foreground="CornflowerBlue" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Notice}}"/> |
| 42 | + <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="alert" Foreground="#f1c647" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Warning}}"/> |
| 43 | + <ghfvs:OcticonImage Margin="0 0 0 0" Grid.Column="0" MinWidth="20" Icon="x" Foreground="#cb2431" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Failure}}"/> |
43 | 44 |
|
44 | | - <TextBlock Grid.Column="1" Grid.Row="0" Margin="4 0 0 0"> |
45 | | - <Run Text="{Binding Model.Path, Mode=OneWay}"/> |
46 | | - <Run FontWeight="SemiBold" Text="{Binding Model.LineDescription, Mode=OneWay}"/> |
47 | | - </TextBlock> |
| 45 | + <TextBlock Grid.Column="1" Grid.Row="0" Margin="4 0 0 0"> |
| 46 | + <Run FontWeight="SemiBold" Text="{Binding Model.Path, Mode=OneWay}"/> |
| 47 | + </TextBlock> |
48 | 48 |
|
49 | | - <TextBlock Grid.Column="1" Grid.Row="1" FontWeight="SemiBold" FontSize="14" Margin="4 8 0 8"> |
50 | | - <Run Text="{Binding Model.CheckSuiteName, Mode=OneWay}"/> |
51 | | - <Run Text="/"/> |
52 | | - <Run Text="{Binding Model.CheckRunName, Mode=OneWay}"/> |
53 | | - </TextBlock> |
| 49 | + <TextBlock Grid.Column="1" Grid.Row="1" FontSize="14" Margin="4 8 0 8"> |
| 50 | + <Run FontWeight="SemiBold" Text="{Binding Model.CheckSuiteName, Mode=OneWay}"/> |
| 51 | + <Run Text="/"/> |
| 52 | + <Run Text="{Binding Model.CheckRunName, Mode=OneWay}"/> |
| 53 | + </TextBlock> |
54 | 54 |
|
55 | | - <!-- |
56 | | - <TextBlock Grid.Column="1" Grid.Row="2" FontWeight="SemiBold" Margin="4 0 0 0"> |
57 | | - <Run Text="{Binding Model.Title, Mode=OneWay}"/> |
58 | | - </TextBlock> |
59 | | - --> |
| 55 | + <TextBlock Grid.Column="1" Grid.Row="2" FontWeight="SemiBold" Margin="4 0 0 8"> |
| 56 | + <Run Text="{Binding Model.Title, Mode=OneWay}"/> |
| 57 | + </TextBlock> |
60 | 58 |
|
61 | | - <TextBlock Grid.Column="1" Grid.Row="3" Margin="4 0 0 0" FontFamily="Consolas" FontSize="12" Text="{Binding Model.Message}"/> |
62 | | - </Grid> |
63 | | - </Border> |
64 | | - </Grid> |
| 59 | + <TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Grid.Column="1" Grid.Row="3" Margin="4 0 0 0" FontFamily="Consolas" FontSize="12" Text="{Binding Model.Message}"/> |
| 60 | + </Grid> |
| 61 | + </Border> |
| 62 | + </Grid> |
| 63 | + </Border> |
65 | 64 | </UserControl> |
66 | 65 |
|
0 commit comments