mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: welcome toolbar button layout
This commit is contained in:
parent
f15dd52fdd
commit
3b0f481e4b
1 changed files with 14 additions and 17 deletions
|
@ -6,7 +6,8 @@
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="SourceGit.Views.WelcomeToolbar"
|
x:Class="SourceGit.Views.WelcomeToolbar"
|
||||||
x:DataType="vm:Welcome">
|
x:DataType="vm:Welcome">
|
||||||
<StackPanel Orientation="Horizontal" Margin="4,0,0,0">
|
<Grid ColumnDefinitions="Auto,*,Auto" Margin="4,0">
|
||||||
|
<StackPanel Grid.Column="0" Orientation="Horizontal">
|
||||||
<Button Classes="icon_button" Width="32" Command="{Binding Clone}" ToolTip.Tip="{DynamicResource Text.Welcome.Clone}">
|
<Button Classes="icon_button" Width="32" Command="{Binding Clone}" ToolTip.Tip="{DynamicResource Text.Welcome.Clone}">
|
||||||
<Path Width="13" Height="13" Data="{StaticResource Icons.Pull}"/>
|
<Path Width="13" Height="13" Data="{StaticResource Icons.Pull}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -18,15 +19,11 @@
|
||||||
<Button Classes="icon_button" Width="32" Command="{Binding OpenTerminal}" ToolTip.Tip="{DynamicResource Text.Welcome.OpenTerminal}">
|
<Button Classes="icon_button" Width="32" Command="{Binding OpenTerminal}" ToolTip.Tip="{DynamicResource Text.Welcome.OpenTerminal}">
|
||||||
<Path Width="13" Height="13" Data="{StaticResource Icons.Terminal}"/>
|
<Path Width="13" Height="13" Data="{StaticResource Icons.Terminal}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
<Rectangle Width="1" Height="16"
|
<Button Grid.Column="2" Classes="icon_button" Width="32" Command="{Binding AddRootNode}" ToolTip.Tip="{DynamicResource Text.Welcome.AddRootFolder}">
|
||||||
Margin="4,0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Fill="{DynamicResource Brush.Border2}"/>
|
|
||||||
|
|
||||||
<Button Classes="icon_button" Width="32" Command="{Binding AddRootNode}" ToolTip.Tip="{DynamicResource Text.Welcome.AddRootFolder}">
|
|
||||||
<Path Width="14" Height="14" Margin="0,2,0,0" Data="{StaticResource Icons.Folder.Add}"/>
|
<Path Width="14" Height="14" Margin="0,2,0,0" Data="{StaticResource Icons.Folder.Add}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue