|
7 | 7 | xmlns:local="clr-namespace:GitHub.VisualStudio.UI.Views" |
8 | 8 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
9 | 9 | xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App" |
| 10 | + xmlns:vsui="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.14.0" |
10 | 11 | xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" |
11 | 12 | Background="{DynamicResource GitHubVsToolWindowBackground}" |
12 | 13 | DataContext="{Binding ViewModel}" |
|
306 | 307 |
|
307 | 308 | <TabItem Header="Commits" Style="{DynamicResource GitHubPRDetailsTabItem}"> |
308 | 309 | <ListView Background="Transparent" |
309 | | - BorderBrush="Transparent"> |
| 310 | + BorderBrush="Transparent" |
| 311 | + ScrollViewer.HorizontalScrollBarVisibility="Disabled"> |
310 | 312 | <ListViewItem Style="{StaticResource CommitListItemContainerStyle}"> |
311 | 313 | <Grid> |
312 | 314 | <Grid.ColumnDefinitions> |
|
338 | 340 | </Grid> |
339 | 341 |
|
340 | 342 | <TextBlock Text="I am an example commit message" |
| 343 | + TextTrimming="CharacterEllipsis" |
341 | 344 | ToolTip="I am an example commit message" |
342 | 345 | VerticalAlignment="Top" |
343 | 346 | Foreground="{DynamicResource GitHubVsToolWindowText}" |
344 | | - FontSize="14" |
| 347 | + Style="{DynamicResource {x:Static vsui:VsResourceKeys.TextBlockEnvironment122PercentFontSizeStyleKey}}" |
345 | 348 | Margin="10,-3,5,0" |
346 | 349 | Grid.Column="1" |
347 | 350 | Grid.Row="0" /> |
348 | 351 |
|
349 | 352 | <TextBlock Margin="10,0,0,0" |
350 | 353 | Text="Andreia Gaita committed 20 hours ago" |
| 354 | + TextTrimming="CharacterEllipsis" |
351 | 355 | ToolTip="Andreia Gaita committed 20 hours ago" |
352 | 356 | VerticalAlignment="Top" |
353 | | - FontSize="11" |
354 | 357 | Grid.Column="1" |
355 | 358 | Grid.Row="1" |
356 | 359 | Foreground="{DynamicResource GitHubVsGrayText}"/> |
|
361 | 364 |
|
362 | 365 | <TabItem Header="Files Changed" Style="{DynamicResource GitHubPRDetailsTabItem}"> |
363 | 366 | <ListView Background="Transparent" |
364 | | - BorderBrush="Transparent"> |
| 367 | + BorderBrush="Transparent" |
| 368 | + ScrollViewer.HorizontalScrollBarVisibility="Disabled"> |
365 | 369 | <ListViewItem Style="{StaticResource CommitListItemContainerStyle}"> |
366 | 370 | <Grid> |
367 | 371 | <Grid.ColumnDefinitions> |
|
381 | 385 |
|
382 | 386 | <TextBlock |
383 | 387 | Foreground="{DynamicResource GitHubVsWindowText}" |
384 | | - Grid.Column="1" Text="src\file_added.cs" /> |
| 388 | + TextTrimming="CharacterEllipsis" |
| 389 | + Text="src\file_added.cs" |
| 390 | + ToolTip="src\file_added.cs" |
| 391 | + Grid.Column="1" /> |
385 | 392 |
|
386 | 393 | <ui:OcticonImage Icon="diff_added" Grid.Column="2" Foreground="#ff6cc644" ToolTip="Added" /> |
387 | 394 | </Grid> |
|
406 | 413 |
|
407 | 414 | <TextBlock |
408 | 415 | Foreground="{DynamicResource GitHubVsWindowText}" |
409 | | - Grid.Column="1" Text="src\file_modified.cs" /> |
| 416 | + TextTrimming="CharacterEllipsis" |
| 417 | + Text="src\file_modified.cs" |
| 418 | + ToolTip="src\file_modified.cs" |
| 419 | + Grid.Column="1" /> |
410 | 420 |
|
411 | 421 | <ui:OcticonImage Icon="diff_modified" Grid.Column="2" Foreground="#ffbbbbbb" ToolTip="Modified" /> |
412 | 422 | </Grid> |
|
431 | 441 |
|
432 | 442 | <TextBlock |
433 | 443 | Foreground="{DynamicResource GitHubVsWindowText}" |
434 | | - Grid.Column="1" Text="src\file_removed.cs" /> |
| 444 | + TextTrimming="CharacterEllipsis" |
| 445 | + Text="src\file_removed.cs" |
| 446 | + ToolTip="src\file_removed.cs" |
| 447 | + Grid.Column="1" /> |
435 | 448 |
|
436 | 449 | <ui:OcticonImage Icon="diff_removed" Grid.Column="2" Foreground="#FFbd2c00" ToolTip="Removed" /> |
437 | 450 | </Grid> |
|
456 | 469 |
|
457 | 470 | <TextBlock |
458 | 471 | Foreground="{DynamicResource GitHubVsWindowText}" |
459 | | - Grid.Column="1" Text="src\file_renamed.cs" /> |
| 472 | + TextTrimming="CharacterEllipsis" |
| 473 | + Text="src\file_renamed.cs" |
| 474 | + ToolTip="src\file_renamed.cs" |
| 475 | + Grid.Column="1" /> |
460 | 476 |
|
461 | 477 | <ui:OcticonImage Icon="diff_renamed" Grid.Column="2" Foreground="#ff4078c0" ToolTip="Renamed" /> |
462 | 478 | </Grid> |
|
0 commit comments