|
17 | 17 | Text="{DynamicResource Text.DeleteRepositoryNode.TitleForRepository}"
|
18 | 18 | IsVisible="{Binding Node.IsRepository}"/>
|
19 | 19 |
|
20 |
| - <Grid Margin="0,16,8,0" Height="28" ColumnDefinitions="120,*"> |
21 |
| - <TextBlock Grid.Column="0" |
| 20 | + <Grid Margin="0,16,8,0" RowDefinitions="32,Auto,32" ColumnDefinitions="120,*"> |
| 21 | + <TextBlock Grid.Row="0" Grid.Column="0" |
22 | 22 | HorizontalAlignment="Right" VerticalAlignment="Center"
|
23 | 23 | Margin="0,0,8,0"
|
24 | 24 | Text="{DynamicResource Text.DeleteRepositoryNode.Target}"/>
|
25 |
| - <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 25 | + <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal"> |
26 | 26 | <Path Width="12" Height="12" Margin="0,0,8,0"
|
27 | 27 | Fill="{Binding Node.Bookmark, Converter={x:Static c:IntConverters.ToBookmarkBrush}}"
|
28 | 28 | HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
35 | 35 | IsVisible="{Binding !Node.IsRepository}"/>
|
36 | 36 |
|
37 | 37 | <TextBlock VerticalAlignment="Center" Text="{Binding Node.Name}"/>
|
38 |
| - <TextBlock Margin="8,0" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="{DynamicResource Brush.FG2}" Text="{Binding Node.Id}" IsVisible="{Binding Node.IsRepository}"/> |
39 | 38 | </StackPanel>
|
| 39 | + |
| 40 | + <TextBlock Grid.Row="1" Grid.Column="0" |
| 41 | + HorizontalAlignment="Right" VerticalAlignment="Center" |
| 42 | + Margin="0,0,8,0" |
| 43 | + Text="{DynamicResource Text.DeleteRepositoryNode.Path}" |
| 44 | + IsVisible="{Binding Node.IsRepository}"/> |
| 45 | + <StackPanel Grid.Row="1" Grid.Column="1" Height="32" Orientation="Horizontal" IsVisible="{Binding Node.IsRepository}"> |
| 46 | + <Path Width="12" Height="12" |
| 47 | + Margin="0,0,8,0" |
| 48 | + Fill="{DynamicResource Brush.FG1}" |
| 49 | + HorizontalAlignment="Left" VerticalAlignment="Center" |
| 50 | + Data="{StaticResource Icons.Folder}"/> |
| 51 | + <TextBlock Text="{Binding Node.Id}" HorizontalAlignment="Left" VerticalAlignment="Center"/> |
| 52 | + </StackPanel> |
| 53 | + |
| 54 | + <Grid Grid.Row="2" Grid.Column="1"> |
| 55 | + <TextBlock Text="{DynamicResource Text.DeleteRepositoryNode.TipForRepository}" |
| 56 | + TextWrapping="Wrap" |
| 57 | + Foreground="{DynamicResource Brush.FG2}" |
| 58 | + IsVisible="{Binding Node.IsRepository}"/> |
| 59 | + <TextBlock Text="{DynamicResource Text.DeleteRepositoryNode.TipForGroup}" |
| 60 | + TextWrapping="Wrap" |
| 61 | + Foreground="{DynamicResource Brush.FG2}" |
| 62 | + IsVisible="{Binding !Node.IsRepository}"/> |
| 63 | + </Grid> |
40 | 64 | </Grid>
|
41 | 65 | </StackPanel>
|
42 | 66 | </UserControl>
|
0 commit comments