|
68 | 68 | Data="{StaticResource Icons.Repositories}"
|
69 | 69 | IsVisible="{Binding !Node.IsRepository}"
|
70 | 70 | IsHitTestVisible="False"/>
|
71 |
| - <TextBlock Grid.Column="1" |
72 |
| - Classes="primary" |
73 |
| - HorizontalAlignment="Stretch" VerticalAlignment="Center" |
74 |
| - FontSize="{Binding Source={x:Static vm:Preferences.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Decrease}}" |
75 |
| - TextAlignment="Center" |
76 |
| - Text="{Binding Node.Name}" |
77 |
| - IsVisible="{Binding Node.IsRepository}" |
78 |
| - IsHitTestVisible="False"/> |
| 71 | + |
| 72 | + <Grid Grid.Column="1" |
| 73 | + HorizontalAlignment="Center" VerticalAlignment="Center" |
| 74 | + ColumnDefinitions="Auto,*" |
| 75 | + IsHitTestVisible="False" |
| 76 | + IsVisible="{Binding Node.IsRepository}"> |
| 77 | + <Ellipse Grid.Column="0" |
| 78 | + Width="8" Height="8" |
| 79 | + Margin="0,0,6,0" |
| 80 | + VerticalAlignment="Center" |
| 81 | + IsVisible="{Binding DirtyBrush, Converter={x:Static ObjectConverters.IsNotNull}}" |
| 82 | + Fill="{Binding DirtyBrush}"/> |
| 83 | + |
| 84 | + <TextBlock Grid.Column="1" |
| 85 | + Classes="primary" |
| 86 | + VerticalAlignment="Center" |
| 87 | + FontSize="{Binding Source={x:Static vm:Preferences.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Decrease}}" |
| 88 | + TextAlignment="Center" |
| 89 | + Text="{Binding Node.Name}" |
| 90 | + IsVisible="{Binding Node.IsRepository}" |
| 91 | + IsHitTestVisible="False"/> |
| 92 | + </Grid> |
| 93 | + |
79 | 94 | <TextBlock Grid.Column="1"
|
80 | 95 | Classes="primary"
|
81 | 96 | HorizontalAlignment="Stretch" VerticalAlignment="Center"
|
|
0 commit comments