Skip to content

Commit 71f68bf

Browse files
author
Sheil Kumar
committed
style changes
1 parent e67a009 commit 71f68bf

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGallery/Samples/EncryptedModel/EncryptedModel.xaml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,19 @@
3535
</StackPanel>
3636
</DataTemplate>
3737
</Page.Resources>
38-
<Grid>
38+
<Grid Padding="0,20,0,0">
3939
<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"/>
4246
<Button Content="Decrypt" x:Name="DecryptButton"
4347
Margin="2,0,0,0" Click="OnDecryptClick" VerticalAlignment="Bottom"
4448
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">
4751
<Button.Flyout>
4852
<Flyout>
4953
<StackPanel Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right">
@@ -53,22 +57,23 @@
5357
</Button.Flyout>
5458
</Button>
5559
<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+
/>
6165
<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"
6670
/>
6771
</StackPanel>
6872
<StackPanel Orientation="Horizontal" Padding="0,2,0,0">
73+
6974
<Image x:Name="InputImage" Source="ms-appx:///InputData/hummingbird.jpg"
7075
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"/>
7277

7378
<ListView Grid.Row="2"
7479
Padding="1,0,0,0"

0 commit comments

Comments
 (0)