|
13 | 13 | <Grid RowDefinitions="26,*"> |
14 | 14 | <!-- Toolbar --> |
15 | 15 | <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border2}"> |
16 | | - <Grid ColumnDefinitions="Auto,*,Auto"> |
| 16 | + <Grid ColumnDefinitions="Auto,Auto,*,Auto"> |
17 | 17 | <StackPanel Grid.Column="0" Orientation="Horizontal" IsVisible="{Binding IsOrgFilePathVisible}" VerticalAlignment="Center"> |
18 | 18 | <Path Width="12" Height="12" Data="{StaticResource Icons.File}" Margin="8,0,0,0"/> |
19 | 19 | <TextBlock Classes="monospace" Margin="4,0,0,0" Text="{Binding OrgFilePath, Converter={x:Static c:PathConverters.TruncateIfTooLong}}" FontSize="11"/> |
|
26 | 26 | <Path Classes="rotating" Width="10" Height="10" Margin="8,0" Data="{DynamicResource Icons.Loading}" IsVisible="{Binding IsLoading}"/> |
27 | 27 | </StackPanel> |
28 | 28 |
|
29 | | - <StackPanel Grid.Column="2" Margin="32,0,0,0" Orientation="Horizontal" VerticalAlignment="Center"> |
| 29 | + <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center" IsVisible="{Binding FileModeDiff, Converter={x:Static c:ObjectConverters.IsNotNull}}"> |
| 30 | + <TextBlock Classes="monospace" Margin="8,0,0,0" Text="{DynamicResource Text.Diff.FileModeChanged}" FontSize="11"/> |
| 31 | + <TextBlock Classes="monospace" Text="{Binding FileModeDiff.Old}" FontSize="11"/> |
| 32 | + <TextBlock Margin="4,0" Text="→"/> |
| 33 | + <TextBlock Classes="monospace" Text="{Binding FileModeDiff.New}" FontSize="11"/> |
| 34 | + </StackPanel> |
| 35 | + |
| 36 | + <StackPanel Grid.Column="3" Margin="32,0,0,0" Orientation="Horizontal" VerticalAlignment="Center"> |
30 | 37 | <ToggleButton Classes="line_path" |
31 | 38 | Width="32" Height="18" |
32 | 39 | Background="Transparent" |
|
0 commit comments