|
35 | 35 | </StackPanel> |
36 | 36 | </DataTemplate> |
37 | 37 | </Page.Resources> |
38 | | - <Grid> |
| 38 | + <Grid Padding="0,20,0,0"> |
39 | 39 | <StackPanel> |
40 | | - <StackPanel Orientation="Horizontal" Margin="0,20,0,0"> |
41 | | - <PasswordBox x:Name="DecryptionKey" Header="Enter the key:" Width="228" Password="WindowsMLSamples" PasswordChar="#"/> |
| 40 | + <StackPanel Orientation="Horizontal"> |
| 41 | + <TextBlock Text="Enter the Key:" FontSize="16" |
| 42 | + Typography.Capitals="AllSmallCaps" Typography.StylisticSet4="True" |
| 43 | + Foreground="Black" FontFamily="Segoe UI Light" VerticalAlignment="Bottom" |
| 44 | + Padding="0, 0, 10, 7"/> |
| 45 | + <PasswordBox x:Name="DecryptionKey" Width="226" Password="WindowsMLSamples" PasswordChar="#" HorizontalAlignment="Left"/> |
42 | 46 | <Button Content="Decrypt" x:Name="DecryptButton" |
43 | 47 | Margin="2,0,0,0" Click="OnDecryptClick" VerticalAlignment="Bottom" |
44 | 48 | Style="{StaticResource AccentButtonStyle}" |
45 | | - Width="100" /> |
46 | | - <Button Content="View key..." Margin="2,0,0,0" VerticalAlignment="Bottom"> |
| 49 | + Width="113" /> |
| 50 | + <Button Width="113" Content="View key..." Margin="2,0,0,0" VerticalAlignment="Bottom"> |
47 | 51 | <Button.Flyout> |
48 | 52 | <Flyout> |
49 | 53 | <StackPanel Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right"> |
|
53 | 57 | </Button.Flyout> |
54 | 58 | </Button> |
55 | 59 | <TextBlock x:Name="Fail" FontSize="16" FontWeight="Bold" |
56 | | - Visibility="Collapsed" |
57 | | - Typography.Capitals="AllSmallCaps" Typography.StylisticSet4="True" |
58 | | - Foreground="Red" FontFamily="Segoe UI Light" Text="Invalid key!" VerticalAlignment="Bottom" |
59 | | - Padding="7, 0, 0, 7" |
60 | | - /> |
| 60 | + Visibility="Collapsed" |
| 61 | + Typography.Capitals="AllSmallCaps" Typography.StylisticSet4="True" |
| 62 | + Foreground="Red" FontFamily="Segoe UI Light" Text="Invalid key!" VerticalAlignment="Bottom" |
| 63 | + Padding="7, 0, 0, 7" |
| 64 | + /> |
61 | 65 | <TextBlock x:Name="Succeed" FontSize="16" FontWeight="Bold" |
62 | | - Visibility="Collapsed" |
63 | | - Typography.Capitals="AllSmallCaps" Typography.StylisticSet4="True" |
64 | | - Foreground="Green" FontFamily="Segoe UI Light" Text="Model decrypted!" VerticalAlignment="Bottom" |
65 | | - Padding="7, 0, 0, 7" |
| 66 | + Visibility="Collapsed" |
| 67 | + Typography.Capitals="AllSmallCaps" Typography.StylisticSet4="True" |
| 68 | + Foreground="Green" FontFamily="Segoe UI Light" Text="Model decrypted!" VerticalAlignment="Bottom" |
| 69 | + Padding="7, 0, 0, 7" |
66 | 70 | /> |
67 | 71 | </StackPanel> |
68 | 72 | <StackPanel Orientation="Horizontal" Padding="0,2,0,0"> |
| 73 | + |
69 | 74 | <Image x:Name="InputImage" Source="ms-appx:///InputData/hummingbird.jpg" |
70 | 75 | Margin="0,1,0,0" |
71 | | - Stretch="UniformToFill" Height="228" Width="228" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
| 76 | + Stretch="UniformToFill" Height="226" Width="226" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
72 | 77 |
|
73 | 78 | <ListView Grid.Row="2" |
74 | 79 | Padding="1,0,0,0" |
|
0 commit comments