Skip to content

Commit 5b6e980

Browse files
committed
ux: sometimes status change icon is not aligned
Signed-off-by: leo <[email protected]>
1 parent ad36366 commit 5b6e980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/ChangeCollectionView.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
SelectionChanged="OnRowSelectionChanged">
3838
<ListBox.ItemTemplate>
3939
<DataTemplate DataType="vm:ChangeTreeNode">
40-
<Grid ColumnDefinitions="16,Auto,Auto,Auto"
40+
<Grid ColumnDefinitions="16,16,Auto,*"
4141
Margin="{Binding Depth, Converter={x:Static c:IntConverters.ToTreeMargin}}"
4242
Background="Transparent"
4343
DoubleTapped="OnRowDoubleTapped"
@@ -64,7 +64,7 @@
6464
Change="{Binding Change}"
6565
IsVisible="{Binding !IsFolder}"/>
6666

67-
<StackPanel Grid.Column="3" Orientation="Horizontal" Margin="4,0,0,0">
67+
<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="4,0,0,0">
6868
<TextBlock Classes="primary" Text="{Binding ConflictMarker}" Foreground="DarkOrange" FontWeight="Bold" Margin="0,0,4,0" IsVisible="{Binding ShowConflictMarker}"/>
6969
<TextBlock Classes="primary" Text="{Binding FullPath, Converter={x:Static c:PathConverters.PureFileName}}"/>
7070
</StackPanel>

0 commit comments

Comments
 (0)