|
61 | 61 | <Grid Grid.Row="1" RowDefinitions="28,*">
|
62 | 62 | <!-- Unstaged Toolbar -->
|
63 | 63 | <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border0}">
|
64 |
| - <Grid ColumnDefinitions="Auto,Auto,Auto,Auto,*,Auto,Auto,Auto,Auto,Auto,Auto"> |
| 64 | + <Grid ColumnDefinitions="Auto,Auto,Auto,*,Auto,Auto,Auto,Auto,Auto,Auto"> |
65 | 65 | <Path Grid.Column="0" Margin="8,0,0,0" Width="14" Height="14" Fill="{DynamicResource Brush.FG2}" Data="{StaticResource Icons.Changes}"/>
|
66 |
| - <TextBlock Grid.Column="1" Text="{DynamicResource Text.WorkingCopy.Unstaged}" Foreground="{DynamicResource Brush.FG2}" FontWeight="Bold" Margin="4,0,0,0"/> |
67 |
| - <TextBlock Grid.Column="2" FontWeight="Bold" Foreground="{DynamicResource Brush.FG2}" Text="{Binding Unstaged, Converter={x:Static c:ListConverters.ToCount}}"/> |
68 |
| - <v:LoadingIcon Grid.Column="3" Width="14" Height="14" Margin="8,0,0,0" IsVisible="{Binding IsStaging}"/> |
| 66 | + <TextBlock Grid.Column="1" Foreground="{DynamicResource Brush.FG2}" FontWeight="Bold" Margin="4,0,0,0"> |
| 67 | + <Run Text="{DynamicResource Text.WorkingCopy.Unstaged}"/> |
| 68 | + <Run Text="{Binding Unstaged, Converter={x:Static c:ListConverters.ToCount}}"/> |
| 69 | + </TextBlock> |
| 70 | + <v:LoadingIcon Grid.Column="2" Width="14" Height="14" Margin="8,0,0,0" IsVisible="{Binding IsStaging}"/> |
69 | 71 |
|
70 |
| - <Button Grid.Column="5" |
| 72 | + <Button Grid.Column="4" |
71 | 73 | Classes="icon_button"
|
72 | 74 | Width="26" Height="14"
|
73 | 75 | Padding="0"
|
74 | 76 | ToolTip.Tip="{DynamicResource Text.WorkingCopy.Unstaged.ViewAssumeUnchaged}"
|
75 | 77 | Command="{Binding OpenAssumeUnchanged}">
|
76 | 78 | <Path Width="14" Height="14" Data="{StaticResource Icons.File.Ignore}"/>
|
77 | 79 | </Button>
|
78 |
| - <ToggleButton Grid.Column="6" |
| 80 | + <ToggleButton Grid.Column="5" |
79 | 81 | Classes="toggle_untracked"
|
80 | 82 | Width="26" Height="14"
|
81 | 83 | ToolTip.Tip="{DynamicResource Text.WorkingCopy.IncludeUntracked}"
|
82 | 84 | IsChecked="{Binding IncludeUntracked, Mode=TwoWay}"/>
|
83 |
| - <Button Grid.Column="7" |
| 85 | + <Button Grid.Column="6" |
84 | 86 | Classes="icon_button"
|
85 | 87 | Width="26" Height="14"
|
86 | 88 | Padding="0"
|
|
89 | 91 | Command="{Binding OpenExternalMergeToolAllConflicts}">
|
90 | 92 | <Path Width="14" Height="14" Data="{StaticResource Icons.Conflict}"/>
|
91 | 93 | </Button>
|
92 |
| - <Button Grid.Column="8" |
| 94 | + <Button Grid.Column="7" |
93 | 95 | Classes="icon_button"
|
94 | 96 | Width="26" Height="14"
|
95 | 97 | Padding="0"
|
|
102 | 104 | </ToolTip.Tip>
|
103 | 105 | <Path Width="14" Height="14" Margin="0,6,0,0" Data="{StaticResource Icons.Down}"/>
|
104 | 106 | </Button>
|
105 |
| - <Button Grid.Column="9" |
| 107 | + <Button Grid.Column="8" |
106 | 108 | Classes="icon_button"
|
107 | 109 | Width="26" Height="14"
|
108 | 110 | Padding="0"
|
109 | 111 | ToolTip.Tip="{DynamicResource Text.WorkingCopy.Unstaged.StageAll}"
|
110 | 112 | Command="{Binding StageAll}">
|
111 | 113 | <Path Width="14" Height="14" Data="{StaticResource Icons.DoubleDown}"/>
|
112 | 114 | </Button>
|
113 |
| - <v:ChangeViewModeSwitcher Grid.Column="10" |
| 115 | + <v:ChangeViewModeSwitcher Grid.Column="9" |
114 | 116 | Width="26" Height="14"
|
115 | 117 | Margin="0,1,0,0"
|
116 | 118 | ViewMode="{Binding Source={x:Static vm:Preferences.Instance}, Path=UnstagedChangeViewMode, Mode=TwoWay}"/>
|
|
142 | 144 | <Grid Grid.Row="3" RowDefinitions="28,*">
|
143 | 145 | <!-- Staged Toolbar -->
|
144 | 146 | <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border0}">
|
145 |
| - <Grid ColumnDefinitions="Auto,Auto,Auto,Auto,*,Auto,Auto,Auto"> |
| 147 | + <Grid ColumnDefinitions="Auto,Auto,Auto,*,Auto,Auto,Auto"> |
146 | 148 | <Path Grid.Column="0" Margin="8,0,0,0" Width="14" Height="14" Fill="{DynamicResource Brush.FG2}" Data="{StaticResource Icons.Changes}"/>
|
147 |
| - <TextBlock Grid.Column="1" Text="{DynamicResource Text.WorkingCopy.Staged}" Foreground="{DynamicResource Brush.FG2}" FontWeight="Bold" Margin="4,0,0,0"/> |
148 |
| - <TextBlock Grid.Column="2" FontWeight="Bold" Foreground="{DynamicResource Brush.FG2}" Text="{Binding Staged, Converter={x:Static c:ListConverters.ToCount}}"/> |
149 |
| - <v:LoadingIcon Grid.Column="3" Width="14" Height="14" Margin="8,0,0,0" IsVisible="{Binding IsUnstaging}"/> |
150 |
| - <Button Grid.Column="5" Classes="icon_button" Width="26" Height="14" Padding="0" Click="OnUnstageSelectedButtonClicked"> |
| 149 | + <TextBlock Grid.Column="1" Foreground="{DynamicResource Brush.FG2}" FontWeight="Bold" Margin="4,0,0,0"> |
| 150 | + <Run Text="{DynamicResource Text.WorkingCopy.Staged}"/> |
| 151 | + <Run Text="{Binding Staged, Converter={x:Static c:ListConverters.ToCount}}"/> |
| 152 | + </TextBlock> |
| 153 | + <v:LoadingIcon Grid.Column="2" Width="14" Height="14" Margin="8,0,0,0" IsVisible="{Binding IsUnstaging}"/> |
| 154 | + <Button Grid.Column="4" Classes="icon_button" Width="26" Height="14" Padding="0" Click="OnUnstageSelectedButtonClicked"> |
151 | 155 | <ToolTip.Tip>
|
152 | 156 | <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
153 | 157 | <TextBlock Text="{DynamicResource Text.WorkingCopy.Staged.Unstage}" VerticalAlignment="Center"/>
|
|
156 | 160 | </ToolTip.Tip>
|
157 | 161 | <Path Width="14" Height="14" Margin="0,6,0,0" Data="{StaticResource Icons.Up}"/>
|
158 | 162 | </Button>
|
159 |
| - <Button Grid.Column="6" Classes="icon_button" Width="26" Height="14" Padding="0" ToolTip.Tip="{DynamicResource Text.WorkingCopy.Staged.UnstageAll}" Command="{Binding UnstageAll}"> |
| 163 | + <Button Grid.Column="5" Classes="icon_button" Width="26" Height="14" Padding="0" ToolTip.Tip="{DynamicResource Text.WorkingCopy.Staged.UnstageAll}" Command="{Binding UnstageAll}"> |
160 | 164 | <Path Width="14" Height="14" Data="{StaticResource Icons.DoubleUp}"/>
|
161 | 165 | </Button>
|
162 |
| - <v:ChangeViewModeSwitcher Grid.Column="7" |
| 166 | + <v:ChangeViewModeSwitcher Grid.Column="6" |
163 | 167 | Width="26" Height="14"
|
164 | 168 | Margin="0,1,0,0"
|
165 | 169 | ViewMode="{Binding Source={x:Static vm:Preferences.Instance}, Path=StagedChangeViewMode, Mode=TwoWay}"/>
|
|
0 commit comments