|
14 | 14 | Title="{DynamicResource Text.InteractiveRebase}"
|
15 | 15 | Width="1080" Height="720"
|
16 | 16 | WindowStartupLocation="CenterOwner">
|
17 |
| - <Grid RowDefinitions="Auto,Auto,*,Auto"> |
| 17 | + <Grid RowDefinitions="Auto,Auto,*,Auto,Auto"> |
18 | 18 | <!-- TitleBar -->
|
19 | 19 | <Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}">
|
20 | 20 | <Border Background="{DynamicResource Brush.TitleBar}"
|
|
38 | 38 | </Grid>
|
39 | 39 |
|
40 | 40 | <!-- Operation Information -->
|
41 |
| - <Grid Grid.Row="1" ColumnDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,*" Margin="8"> |
| 41 | + <Grid Grid.Row="1" ColumnDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,*" Margin="8"> |
42 | 42 | <TextBlock Grid.Column="0" Text="{DynamicResource Text.InteractiveRebase.Target}" Foreground="{DynamicResource Brush.FG2}" FontWeight="Bold"/>
|
43 | 43 | <Path Grid.Column="1" Width="14" Height="14" Margin="8,0,0,0" Data="{StaticResource Icons.Branch}"/>
|
44 | 44 | <TextBlock Grid.Column="2" VerticalAlignment="Center" Text="{Binding Current.FriendlyName}" Margin="8,0,0,0"/>
|
|
47 | 47 | <Path Grid.Column="4" Width="14" Height="14" Margin="8,0,0,0" Data="{StaticResource Icons.Commit}"/>
|
48 | 48 | <TextBlock Grid.Column="5" Classes="primary" VerticalAlignment="Center" Text="{Binding On.SHA, Converter={x:Static c:StringConverters.ToShortSHA}}" Foreground="DarkOrange" Margin="8,0,0,0"/>
|
49 | 49 | <TextBlock Grid.Column="6" VerticalAlignment="Center" Text="{Binding On.Subject}" Margin="4,0,0,0" TextTrimming="CharacterEllipsis"/>
|
50 |
| - |
51 |
| - <CheckBox Grid.Column="7" Content="{DynamicResource Text.InteractiveRebase.AutoStash}" IsChecked="{Binding AutoStash, Mode=TwoWay}" Margin="16,0,0,0"/> |
52 | 50 | </Grid>
|
53 | 51 |
|
54 | 52 | <!-- Body -->
|
|
198 | 196 |
|
199 | 197 | <!-- Options -->
|
200 | 198 | <Grid Grid.Row="3" ColumnDefinitions="*,Auto,Auto" Margin="8,0,8,8">
|
201 |
| - <ProgressBar x:Name="Running" |
202 |
| - Grid.Column="0" |
203 |
| - Margin="0,0,32,0" |
204 |
| - Background="{DynamicResource Brush.FG2}" |
205 |
| - Foreground="{DynamicResource Brush.Accent}" |
206 |
| - Minimum="0" |
207 |
| - Maximum="100" |
208 |
| - IsVisible="False"/> |
| 199 | + <CheckBox Grid.Column="0" |
| 200 | + Content="{DynamicResource Text.InteractiveRebase.AutoStash}" |
| 201 | + VerticalAlignment="Center" |
| 202 | + IsChecked="{Binding AutoStash, Mode=TwoWay}"/> |
209 | 203 | <Button Grid.Column="1" Classes="flat primary" MinWidth="80" Content="{DynamicResource Text.Start}" Click="OnStartJobs"/>
|
210 | 204 | <Button Grid.Column="2" Classes="flat" Margin="8,0,0,0" MinWidth="80" Content="{DynamicResource Text.Cancel}" Click="CloseWindow"/>
|
211 | 205 | </Grid>
|
| 206 | + |
| 207 | + <!-- Progress --> |
| 208 | + <ProgressBar x:Name="Running" |
| 209 | + Grid.Row="4" |
| 210 | + Margin="8,0,8,12" |
| 211 | + Background="{DynamicResource Brush.FG2}" |
| 212 | + Foreground="{DynamicResource Brush.Accent}" |
| 213 | + Minimum="0" |
| 214 | + Maximum="100" |
| 215 | + IsVisible="False"/> |
212 | 216 | </Grid>
|
213 | 217 | </v:ChromelessWindow>
|
0 commit comments