mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: alignment for commit changes in CommitDetail page
This commit is contained in:
parent
179887339e
commit
012e28ec8d
1 changed files with 23 additions and 14 deletions
|
@ -25,20 +25,29 @@
|
||||||
<Rectangle Grid.Row="1" Height=".65" Margin="8" Fill="{DynamicResource Brush.Border2}" VerticalAlignment="Center"/>
|
<Rectangle Grid.Row="1" Height=".65" Margin="8" Fill="{DynamicResource Brush.Border2}" VerticalAlignment="Center"/>
|
||||||
|
|
||||||
<!-- Change List -->
|
<!-- Change List -->
|
||||||
<v:ChangeCollectionView Grid.Row="2"
|
<Grid Grid.Row="2" ColumnDefinitions="96,*" Margin="0,0,8,0">
|
||||||
Margin="72,0,8,0"
|
<TextBlock Grid.Column="0"
|
||||||
IsWorkingCopy="False"
|
Classes="group_header_label"
|
||||||
ViewMode="List"
|
Margin="0"
|
||||||
Changes="{Binding Changes}"
|
HorizontalAlignment="Right"
|
||||||
SelectedChanges="{Binding SelectedChanges, Mode=TwoWay}"
|
VerticalAlignment="Top"
|
||||||
ContextRequested="OnChangeListContextRequested"
|
Text="{DynamicResource Text.CommitDetail.Changes}"/>
|
||||||
ChangeDoubleTapped="OnChangeDoubleTapped">
|
|
||||||
<v:ChangeCollectionView.Styles>
|
<v:ChangeCollectionView Grid.Column="1"
|
||||||
<Style Selector="TreeDataGrid">
|
IsWorkingCopy="False"
|
||||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
|
Margin="8,0,0,0"
|
||||||
</Style>
|
ViewMode="List"
|
||||||
</v:ChangeCollectionView.Styles>
|
Changes="{Binding Changes}"
|
||||||
</v:ChangeCollectionView>
|
SelectedChanges="{Binding SelectedChanges, Mode=TwoWay}"
|
||||||
|
ContextRequested="OnChangeListContextRequested"
|
||||||
|
ChangeDoubleTapped="OnChangeDoubleTapped">
|
||||||
|
<v:ChangeCollectionView.Styles>
|
||||||
|
<Style Selector="TreeDataGrid">
|
||||||
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
|
||||||
|
</Style>
|
||||||
|
</v:ChangeCollectionView.Styles>
|
||||||
|
</v:ChangeCollectionView>
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue