|
25 | 25 |
|
26 | 26 | <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"> |
27 | 27 | <DataGrid x:Name="CommitListContainer" |
| 28 | + Classes="static_scrollbar" |
28 | 29 | ScrollViewer.AllowAutoHide="False" |
29 | 30 | Background="{DynamicResource Brush.Window}" |
30 | 31 | SelectionMode="Extended" |
|
53 | 54 | </DataGrid.Resources> |
54 | 55 |
|
55 | 56 | <DataGrid.Styles> |
56 | | - <Style Selector="DataGrid"> |
| 57 | + <Style Selector="DataGrid.static_scrollbar"> |
57 | 58 | <Style Selector="^ /template/ DataGridRowsPresenter#PART_RowsPresenter"> |
58 | 59 | <Setter Property="Grid.RowSpan" Value="1" /> |
59 | 60 | <Setter Property="Grid.ColumnSpan" Value="2" /> |
60 | 61 | </Style> |
61 | 62 | <Style Selector="^ /template/ DataGridColumnHeadersPresenter#PART_ColumnHeadersPresenter"> |
62 | | - <Setter Property="Grid.ColumnSpan" Value="1" /> |
| 63 | + <Setter Property="Grid.Column" Value="0" /> |
63 | 64 | </Style> |
64 | 65 | <Style Selector="^ /template/ ScrollBar"> |
65 | 66 | <Setter Property="Background" Value="{DynamicResource Brush.Contents}"/> |
|
187 | 188 | Opacity="{Binding IsMerged, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}" |
188 | 189 | IsHitTestVisible="False"/> |
189 | 190 |
|
190 | | - <Border Grid.Column="1" Padding="8,0,4,0" ClipToBounds="True"> |
| 191 | + <Border Grid.Column="1" Padding="8,0" ClipToBounds="True"> |
191 | 192 | <TextBlock Text="{Binding Author.Name}" |
192 | 193 | FontWeight="{Binding IsCurrentHead, Converter={x:Static c:BoolConverters.IsBoldToFontWeight}}" |
193 | 194 | Opacity="{Binding IsMerged, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}" |
|
0 commit comments