mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
ux: margins for FileHistories content
This commit is contained in:
parent
24590a0e43
commit
dde5d4a2a8
1 changed files with 8 additions and 5 deletions
|
@ -56,7 +56,10 @@
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<DataGrid Grid.Column="0"
|
<DataGrid Grid.Column="0"
|
||||||
Background="Transparent"
|
Background="{DynamicResource Brush.Contents}"
|
||||||
|
BorderThickness="1"
|
||||||
|
Margin="8,4,4,8"
|
||||||
|
BorderBrush="{DynamicResource Brush.Border2}"
|
||||||
ItemsSource="{Binding Commits}"
|
ItemsSource="{Binding Commits}"
|
||||||
SelectedItem="{Binding SelectedCommit, Mode=TwoWay}"
|
SelectedItem="{Binding SelectedCommit, Mode=TwoWay}"
|
||||||
SelectionMode="Single"
|
SelectionMode="Single"
|
||||||
|
@ -96,15 +99,15 @@
|
||||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
BorderThickness="1,0,0,0"
|
BorderThickness="1,0,0,0"
|
||||||
BorderBrush="{DynamicResource Brush.Border2}"/>
|
BorderBrush="{DynamicResource Brush.Border0}"/>
|
||||||
|
|
||||||
<v:LoadingIcon Grid.Column="2"
|
<v:LoadingIcon Grid.Column="2"
|
||||||
Width="48" Height="48"
|
Width="48" Height="48"
|
||||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||||
IsVisible="{Binding IsLoading}"/>
|
IsVisible="{Binding IsLoading}"/>
|
||||||
|
|
||||||
<Grid Grid.Column="2" RowDefinitions="*,3,*" Margin="0,4,4,4" IsVisible="{Binding !IsLoading}">
|
<Grid Grid.Column="2" RowDefinitions="*,3,*" IsVisible="{Binding !IsLoading}">
|
||||||
<ContentControl Grid.Row="0" Content="{Binding DiffContext}">
|
<ContentControl Grid.Row="0" Margin="4,4,8,0" Content="{Binding DiffContext}">
|
||||||
<ContentControl.DataTemplates>
|
<ContentControl.DataTemplates>
|
||||||
<DataTemplate DataType="vm:DiffContext">
|
<DataTemplate DataType="vm:DiffContext">
|
||||||
<v:DiffView/>
|
<v:DiffView/>
|
||||||
|
@ -117,7 +120,7 @@
|
||||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
||||||
Background="Transparent"/>
|
Background="Transparent"/>
|
||||||
|
|
||||||
<Grid Grid.Row="2">
|
<Grid Grid.Row="2" Margin="0,0,4,4">
|
||||||
<Border Background="{DynamicResource Brush.Window}">
|
<Border Background="{DynamicResource Brush.Window}">
|
||||||
<Path Width="128" Height="128"
|
<Path Width="128" Height="128"
|
||||||
Data="{StaticResource Icons.Detail}"
|
Data="{StaticResource Icons.Detail}"
|
||||||
|
|
Loading…
Reference in a new issue