mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
style<Toolbar>: margins for toolbar buttons
This commit is contained in:
parent
c47fe16dd3
commit
ae02e1025e
3 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@
|
||||||
<!-- Menu (Windows) -->
|
<!-- Menu (Windows) -->
|
||||||
<Button Grid.Column="0"
|
<Button Grid.Column="0"
|
||||||
Classes="icon_button"
|
Classes="icon_button"
|
||||||
Margin="8,0,2,3"
|
Margin="4,0,2,3"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
IsVisible="{Binding Source={x:Static vm:Preference.Instance}, Path=UseMacOSStyle, Converter={x:Static BoolConverters.Not}}">
|
IsVisible="{Binding Source={x:Static vm:Preference.Instance}, Path=UseMacOSStyle, Converter={x:Static BoolConverters.Not}}">
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<!-- Toolbar -->
|
<!-- Toolbar -->
|
||||||
<Border Grid.Row="0" BorderBrush="{DynamicResource Brush.Border0}" BorderThickness="0,0,0,1" Background="{DynamicResource Brush.ToolBar}">
|
<Border Grid.Row="0" BorderBrush="{DynamicResource Brush.Border0}" BorderThickness="0,0,0,1" Background="{DynamicResource Brush.ToolBar}">
|
||||||
<Grid ColumnDefinitions="*,Auto,*">
|
<Grid ColumnDefinitions="*,Auto,*">
|
||||||
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="10,0,0,0">
|
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="4,0,0,0">
|
||||||
<Button Classes="icon_button" Width="32" Command="{Binding OpenInFileManager}" ToolTip.Tip="{DynamicResource Text.Repository.Explore}">
|
<Button Classes="icon_button" Width="32" Command="{Binding OpenInFileManager}" ToolTip.Tip="{DynamicResource Text.Repository.Explore}">
|
||||||
<Path Width="15" Height="13" Data="{StaticResource Icons.Folder.Open}"/>
|
<Path Width="15" Height="13" Data="{StaticResource Icons.Folder.Open}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,0">
|
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,4,0">
|
||||||
<ToggleButton Classes="layout_direction"
|
<ToggleButton Classes="layout_direction"
|
||||||
Width="32" Height="26"
|
Width="32" Height="26"
|
||||||
Padding="9,6"
|
Padding="9,6"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
x:DataType="vm:Welcome">
|
x:DataType="vm:Welcome">
|
||||||
<Grid RowDefinitions="36,*,36" Background="{DynamicResource Brush.Window}">
|
<Grid RowDefinitions="36,*,36" Background="{DynamicResource Brush.Window}">
|
||||||
<Border Grid.Row="0" BorderBrush="{DynamicResource Brush.Border0}" BorderThickness="0,0,0,1" Background="{DynamicResource Brush.ToolBar}">
|
<Border Grid.Row="0" BorderBrush="{DynamicResource Brush.Border0}" BorderThickness="0,0,0,1" Background="{DynamicResource Brush.ToolBar}">
|
||||||
<StackPanel Orientation="Horizontal" Margin="10,0,0,0">
|
<StackPanel Orientation="Horizontal" Margin="4,0,0,0">
|
||||||
<Button Classes="icon_button" Width="32" Click="OpenLocalRepository" ToolTip.Tip="{DynamicResource Text.Welcome.OpenOrInit}">
|
<Button Classes="icon_button" Width="32" Click="OpenLocalRepository" ToolTip.Tip="{DynamicResource Text.Welcome.OpenOrInit}">
|
||||||
<Path Width="15" Height="13" Data="{StaticResource Icons.Folder.Open}"/>
|
<Path Width="15" Height="13" Data="{StaticResource Icons.Folder.Open}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in a new issue