ux: alignment for commit changes in CommitDetail page

This commit is contained in:
leo 2024-05-29 14:25:43 +08:00
parent 179887339e
commit 012e28ec8d

View file

@ -25,9 +25,17 @@
<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"
Classes="group_header_label"
Margin="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Text="{DynamicResource Text.CommitDetail.Changes}"/>
<v:ChangeCollectionView Grid.Column="1"
IsWorkingCopy="False" IsWorkingCopy="False"
Margin="8,0,0,0"
ViewMode="List" ViewMode="List"
Changes="{Binding Changes}" Changes="{Binding Changes}"
SelectedChanges="{Binding SelectedChanges, Mode=TwoWay}" SelectedChanges="{Binding SelectedChanges, Mode=TwoWay}"
@ -40,6 +48,7 @@
</v:ChangeCollectionView.Styles> </v:ChangeCollectionView.Styles>
</v:ChangeCollectionView> </v:ChangeCollectionView>
</Grid> </Grid>
</Grid>
</TabItem> </TabItem>
<TabItem> <TabItem>