|
12 | 12 | Icon="/App.ico" |
13 | 13 | Title="{DynamicResource Text.Blame}" |
14 | 14 | MinWidth="1280" MinHeight="720"> |
15 | | - <Grid RowDefinitions="Auto,24,*"> |
| 15 | + <Grid RowDefinitions="Auto,28,*,36"> |
16 | 16 | <!-- TitleBar --> |
17 | 17 | <Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}"> |
18 | 18 | <!-- Bottom border --> |
|
80 | 80 | <Button Grid.Column="5" |
81 | 81 | Classes="icon_button" |
82 | 82 | IsEnabled="{Binding PrevRevision, Converter={x:Static ObjectConverters.IsNotNull}}" |
83 | | - Width="18" Margin="4,0,0,0" |
| 83 | + Width="28" Margin="4,0,0,0" |
84 | 84 | Command="{Binding GotoPrevRevision}" |
85 | 85 | ToolTip.Tip="{DynamicResource Text.Blame.BlameOnPreviousRevision}"> |
86 | | - <Path Width="12" Height="12" Data="{StaticResource Icons.GotoParent}"/> |
| 86 | + <Path Width="14" Height="14" Data="{StaticResource Icons.GotoParent}"/> |
87 | 87 | </Button> |
88 | 88 | </Grid> |
89 | 89 | </Border> |
90 | 90 |
|
91 | 91 | <!-- Body --> |
92 | | - <Grid Grid.Row="2" Background="{DynamicResource Brush.Contents}"> |
| 92 | + <Grid Grid.Row="2"> |
93 | 93 | <!-- Blame View --> |
94 | 94 | <v:BlameTextEditor HorizontalScrollBarVisibility="Auto" |
95 | 95 | VerticalScrollBarVisibility="Auto" |
96 | 96 | Margin="4,0,4,4" |
97 | 97 | BorderBrush="{DynamicResource Brush.Border2}" |
98 | 98 | BorderThickness="1" |
99 | | - Background="Transparent" |
| 99 | + Background="{DynamicResource Brush.Contents}" |
100 | 100 | Foreground="{DynamicResource Brush.FG1}" |
101 | 101 | FontFamily="{DynamicResource Fonts.Monospace}" |
102 | 102 | FontSize="{Binding Source={x:Static vm:Preferences.Instance}, Path=EditorFontSize}" |
|
123 | 123 | <!-- Loading --> |
124 | 124 | <v:LoadingIcon Width="48" Height="48" IsVisible="{Binding Data, Converter={x:Static ObjectConverters.IsNull}}"/> |
125 | 125 | </Grid> |
| 126 | + |
| 127 | + <!-- Option --> |
| 128 | + <Grid Grid.Row="3" Margin="8,0" Height="32" VerticalAlignment="Top"> |
| 129 | + <CheckBox Content="{DynamicResource Text.Blame.IgnoreWhitespace}" |
| 130 | + IsChecked="{Binding IgnoreWhitespace, Mode=TwoWay}" |
| 131 | + ToolTip.Tip="-w"/> |
| 132 | + </Grid> |
126 | 133 | </Grid> |
127 | 134 | </v:ChromelessWindow> |
0 commit comments