mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
ux: move navigate current head button to histories (#50)
This commit is contained in:
parent
d986aa7165
commit
54c7f80eda
1 changed files with 8 additions and 10 deletions
|
@ -116,12 +116,7 @@
|
||||||
<!-- Left Normal Mode -->
|
<!-- Left Normal Mode -->
|
||||||
<Grid Grid.Column="0" RowDefinitions="28,Auto,28,Auto,28,*,28,Auto,28,Auto" Margin="0,0,0,4" IsVisible="{Binding !IsSearching}">
|
<Grid Grid.Column="0" RowDefinitions="28,Auto,28,Auto,28,*,28,Auto,28,Auto" Margin="0,0,0,4" IsVisible="{Binding !IsSearching}">
|
||||||
<!-- WorkingCopy -->
|
<!-- WorkingCopy -->
|
||||||
<Grid Grid.Row="0" ColumnDefinitions="*,Auto">
|
<TextBlock Grid.Row="0" Classes="group_header_label" Text="{DynamicResource Text.Repository.Workspace}"/>
|
||||||
<TextBlock Grid.Column="0" Classes="group_header_label" Text="{DynamicResource Text.Repository.Workspace}"/>
|
|
||||||
<Button Grid.Column="1" Classes="icon_button" Width="14" Margin="8,0" Command="{Binding NavigateToCurrentHead}" ToolTip.Tip="{DynamicResource Text.Repository.NavigateToCurrentHead}">
|
|
||||||
<Path Width="14" Height="14" Data="{StaticResource Icons.Target}"/>
|
|
||||||
</Button>
|
|
||||||
</Grid>
|
|
||||||
<ListBox Grid.Row="1" Classes="page_switcher" Background="Transparent" SelectedIndex="{Binding SelectedViewIndex, Mode=TwoWay}">
|
<ListBox Grid.Row="1" Classes="page_switcher" Background="Transparent" SelectedIndex="{Binding SelectedViewIndex, Mode=TwoWay}">
|
||||||
<ListBox.ItemsPanel>
|
<ListBox.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
|
@ -130,10 +125,13 @@
|
||||||
</ListBox.ItemsPanel>
|
</ListBox.ItemsPanel>
|
||||||
|
|
||||||
<ListBoxItem Height="28" Padding="0">
|
<ListBoxItem Height="28" Padding="0">
|
||||||
<StackPanel Margin="16,0,0,0" Orientation="Horizontal">
|
<Grid Margin="16,0,0,0" Height="28" ColumnDefinitions="Auto,*,Auto">
|
||||||
<Path Width="14" Height="14" Data="{StaticResource Icons.Histories}"/>
|
<Path Grid.Column="0" Width="14" Height="14" Data="{StaticResource Icons.Histories}"/>
|
||||||
<TextBlock Margin="8,0,0,0" Classes="monospace" Text="{DynamicResource Text.Histories}"/>
|
<TextBlock Grid.Column="1" Margin="8,0,0,0" Classes="monospace" Text="{DynamicResource Text.Histories}"/>
|
||||||
</StackPanel>
|
<Button Grid.Column="2" Classes="icon_button" Width="14" Margin="8,0" Command="{Binding NavigateToCurrentHead}" ToolTip.Tip="{DynamicResource Text.Repository.NavigateToCurrentHead}">
|
||||||
|
<Path Width="14" Height="14" Data="{StaticResource Icons.Target}"/>
|
||||||
|
</Button>
|
||||||
|
</Grid>
|
||||||
</ListBoxItem>
|
</ListBoxItem>
|
||||||
|
|
||||||
<ListBoxItem Height="28" Padding="0">
|
<ListBoxItem Height="28" Padding="0">
|
||||||
|
|
Loading…
Reference in a new issue