|
13 | 13 | <TextBlock FontSize="18" |
14 | 14 | Classes="bold" |
15 | 15 | Text="{DynamicResource Text.CreateTag}"/> |
16 | | - <Grid Margin="0,16,8,0" RowDefinitions="32,32,64" ColumnDefinitions="150,*"> |
| 16 | + <Grid Margin="0,16,8,0" RowDefinitions="32,32,32,Auto,Auto" ColumnDefinitions="150,*"> |
17 | 17 | <TextBlock Grid.Column="0" |
18 | 18 | HorizontalAlignment="Right" VerticalAlignment="Center" |
19 | 19 | Margin="0,0,8,0" |
|
49 | 49 | v:AutoFocusBehaviour.IsEnabled="True"/> |
50 | 50 |
|
51 | 51 | <TextBlock Grid.Row="2" Grid.Column="0" |
| 52 | + HorizontalAlignment="Right" VerticalAlignment="Center" |
| 53 | + Margin="0,0,8,0" |
| 54 | + Text="{DynamicResource Text.CreateTag.Type}"/> |
| 55 | + <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal"> |
| 56 | + <RadioButton Content="{DynamicResource Text.CreateTag.Type.Annotated}" |
| 57 | + GroupName="TagKind" |
| 58 | + IsChecked="{Binding Annotated, Mode=TwoWay}"/> |
| 59 | + <RadioButton Content="{DynamicResource Text.CreateTag.Type.Lightweight}" |
| 60 | + GroupName="TagKind" |
| 61 | + Margin="8,0,0,0"/> |
| 62 | + </StackPanel> |
| 63 | + |
| 64 | + <TextBlock Grid.Row="3" Grid.Column="0" |
52 | 65 | HorizontalAlignment="Right" VerticalAlignment="Top" |
53 | 66 | Margin="0,6,8,0" |
54 | | - Text="{DynamicResource Text.CreateTag.Message}"/> |
55 | | - <TextBox Grid.Row="2" Grid.Column="1" |
56 | | - Height="56" |
| 67 | + Text="{DynamicResource Text.CreateTag.Message}" |
| 68 | + IsVisible="{Binding Annotated}"/> |
| 69 | + <TextBox Grid.Row="3" Grid.Column="1" |
| 70 | + Height="64" |
57 | 71 | AcceptsReturn="True" AcceptsTab="False" |
58 | 72 | VerticalAlignment="Center" VerticalContentAlignment="Top" |
59 | 73 | CornerRadius="2" |
60 | 74 | Watermark="{DynamicResource Text.CreateTag.Message.Placeholder}" |
61 | | - Text="{Binding Message, Mode=TwoWay}"/> |
| 75 | + Text="{Binding Message, Mode=TwoWay}" |
| 76 | + IsVisible="{Binding Annotated}"/> |
| 77 | + |
| 78 | + <CheckBox Grid.Row="4" Grid.Column="1" |
| 79 | + Height="32" |
| 80 | + Content="{DynamicResource Text.CreateTag.GPGSign}" |
| 81 | + IsChecked="{Binding SignTag, Mode=TwoWay}" |
| 82 | + IsVisible="{Binding Annotated}"/> |
62 | 83 | </Grid> |
63 | 84 | </StackPanel> |
64 | 85 | </UserControl> |
0 commit comments