|
60 | 60 | SelectedItem="{Binding SelectedItem, Mode=OneWayToSource}" |
61 | 61 | ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
62 | 62 | ScrollViewer.VerticalScrollBarVisibility="Auto"> |
63 | | - <ListBox.Styles> |
| 63 | + <v:InteractiveRebaseListBox.Styles> |
64 | 64 | <Style Selector="ListBoxItem"> |
65 | 65 | <Setter Property="Margin" Value="0"/> |
66 | 66 | <Setter Property="Padding" Value="0"/> |
67 | 67 | <Setter Property="Height" Value="28"/> |
68 | 68 | <Setter Property="HorizontalAlignment" Value="Stretch"/> |
69 | 69 | <Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
70 | 70 | </Style> |
71 | | - </ListBox.Styles> |
| 71 | + </v:InteractiveRebaseListBox.Styles> |
72 | 72 |
|
73 | | - <ListBox.ItemsPanel> |
| 73 | + <v:InteractiveRebaseListBox.ItemsPanel> |
74 | 74 | <ItemsPanelTemplate> |
75 | 75 | <VirtualizingStackPanel Orientation="Vertical"/> |
76 | 76 | </ItemsPanelTemplate> |
77 | | - </ListBox.ItemsPanel> |
| 77 | + </v:InteractiveRebaseListBox.ItemsPanel> |
78 | 78 |
|
79 | | - <ListBox.ItemTemplate> |
| 79 | + <v:InteractiveRebaseListBox.ItemTemplate> |
80 | 80 | <DataTemplate DataType="vm:InteractiveRebaseItem"> |
81 | | - <Grid Height="26" Margin="8,0" ColumnDefinitions="16,110,*,32,108,96,Auto,32,32" ClipToBounds="True"> |
| 81 | + <Grid Height="26" Margin="8,0" ColumnDefinitions="16,110,*,32,108,96,170,32,32" ClipToBounds="True"> |
82 | 82 | <!-- Drag & Drop Anchor --> |
83 | 83 | <Border Grid.Column="0" Background="Transparent" |
84 | 84 | Loaded="OnSetupRowHeaderDragDrop" |
|
210 | 210 |
|
211 | 211 | <!-- Commit Time --> |
212 | 212 | <Border Grid.Column="6"> |
213 | | - <TextBlock Classes="primary" Text="{Binding Commit.CommitterTimeStr}" Margin="8,0"/> |
214 | | - </Border> |
| 213 | + <TextBlock Classes="primary" Text="{Binding Commit.CommitterTimeStr}" HorizontalAlignment="Center"/> |
| 214 | + </Border> |
215 | 215 |
|
216 | 216 | <!-- MoveUp Button --> |
217 | 217 | <Button Grid.Column="7" Classes="icon_button" Click="OnMoveItemUp" ToolTip.Tip="Alt+Up"> |
|
224 | 224 | </Button> |
225 | 225 | </Grid> |
226 | 226 | </DataTemplate> |
227 | | - </ListBox.ItemTemplate> |
| 227 | + </v:InteractiveRebaseListBox.ItemTemplate> |
228 | 228 | </v:InteractiveRebaseListBox> |
229 | 229 |
|
230 | 230 | <v:LoadingIcon Grid.Row="0" Width="48" Height="48" HorizontalAlignment="Center" VerticalAlignment="Center" IsVisible="{Binding IsLoading}"/> |
|
0 commit comments