|
55 | 55 | TextTrimming="CharacterEllipsis" |
56 | 56 | Text="{Binding Title}" /> |
57 | 57 |
|
58 | | - <DockPanel> |
59 | | - <views:ActorAvatarView |
60 | | - ViewModel="{Binding Author}" |
61 | | - Margin="0,0,4,0" |
62 | | - Width="16" |
63 | | - Height="16" |
64 | | - VerticalAlignment="Top"/> |
| 58 | + <Grid> |
| 59 | + <Grid.ColumnDefinitions> |
| 60 | + <ColumnDefinition Width="1*" /> |
| 61 | + <ColumnDefinition Width="Auto" /> |
| 62 | + </Grid.ColumnDefinitions> |
| 63 | + <StackPanel Grid.Column="0" Orientation="Horizontal"> |
| 64 | + <views:ActorAvatarView |
| 65 | + ViewModel="{Binding Author}" |
| 66 | + Margin="0,1,4,0" |
| 67 | + Width="16" |
| 68 | + Height="16" |
| 69 | + VerticalAlignment="Top"/> |
65 | 70 |
|
66 | | - <TextBlock Opacity="0.5" Margin="0 0 4 0"> |
67 | | - <Run Text="{Binding Number, Mode=OneWay, StringFormat=#{0}}"/> |
68 | | - </TextBlock> |
| 71 | + <TextBlock Opacity="0.5" Margin="0 0 4 0"> |
| 72 | + <Run Text="{Binding Number, Mode=OneWay, StringFormat=#{0}}"/> |
| 73 | + </TextBlock> |
69 | 74 |
|
70 | | - <TextBlock Opacity="0.5"> |
71 | | - <Run Text="updated"/> |
72 | | - <Run Text="{Binding UpdatedAt, Converter={ghfvs:DurationToStringConverter}, Mode=OneWay}"/> |
73 | | - by |
74 | | - <Run Text="{Binding Author.Login, Mode=OneWay}"/> |
75 | | - </TextBlock> |
| 75 | + <TextBlock Opacity="0.5" TextTrimming="CharacterEllipsis"> |
| 76 | + <Run Text="updated"/> |
| 77 | + <Run Text="{Binding UpdatedAt, Converter={ghfvs:DurationToStringConverter}, Mode=OneWay}"/> |
| 78 | + by |
| 79 | + <Run Text="{Binding Author.Login, Mode=OneWay}"/> |
| 80 | + </TextBlock> |
| 81 | + </StackPanel> |
76 | 82 |
|
77 | | - <TextBlock Opacity="0.5" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="8 0 0 0" Visibility="{Binding CommentCount, Converter={ghfvs:CountToVisibilityConverter}}"> <ghfvs:OcticonImage Icon="comment" Width="12" Height="12" Margin="0 0 0 -2"/> |
| 83 | + <TextBlock Opacity="0.5" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="8 0 0 0" Visibility="{Binding CommentCount, Converter={ghfvs:CountToVisibilityConverter}}"> <ghfvs:OcticonImage Icon="comment" Width="12" Height="12" Margin="0 0 0 -2"/> |
78 | 84 | <Run Text="{Binding CommentCount, Mode=OneWay}" BaselineAlignment="Bottom"/> |
79 | 85 | </TextBlock> |
80 | | - </DockPanel> |
| 86 | + </Grid> |
81 | 87 | </StackPanel> |
82 | 88 | </Grid> |
83 | 89 | </UserControl> |
0 commit comments