-
-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathUpdateDialog.xaml
More file actions
104 lines (98 loc) · 3.28 KB
/
UpdateDialog.xaml
File metadata and controls
104 lines (98 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<Window
x:Class="BabySmash.UpdateDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="BabySmash! Update Available"
Width="550"
Height="450"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Background="#FFFAFAFA">
<Grid Margin="24">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- Header -->
<StackPanel Grid.Row="0" Margin="0,0,0,16">
<TextBlock
FontSize="24"
FontWeight="Bold"
Foreground="#FF2196F3"
Text="🎉 Update Available!" />
<TextBlock
x:Name="VersionText"
Margin="0,8,0,0"
FontSize="14"
Foreground="#FF666666"
Text="Version X.X.X is ready to install" />
<TextBlock
Margin="0,12,0,0"
FontSize="13"
Foreground="#FF888888"
TextWrapping="Wrap"
Text="A new version of BabySmash! is available. Update now before your little one takes over the keyboard!" />
</StackPanel>
<!-- Release Notes Header -->
<TextBlock
Grid.Row="1"
Margin="0,0,0,8"
FontSize="13"
FontWeight="SemiBold"
Foreground="#FF333333"
Text="What's New:" />
<!-- Release Notes -->
<Border
Grid.Row="2"
Margin="0,0,0,20"
Background="White"
BorderBrush="#FFDDDDDD"
BorderThickness="1"
CornerRadius="6">
<ScrollViewer VerticalScrollBarVisibility="Auto" Padding="4">
<TextBlock
x:Name="ReleaseNotesText"
Margin="12"
FontFamily="Segoe UI"
FontSize="12"
LineHeight="20"
TextWrapping="Wrap" />
</ScrollViewer>
</Border>
<!-- Buttons -->
<StackPanel
Grid.Row="3"
HorizontalAlignment="Right"
Orientation="Horizontal">
<Button
x:Name="SkipButton"
Margin="0,0,10,0"
Padding="16,10"
Click="SkipButton_Click"
Content="Skip This Version"
Cursor="Hand"
FontSize="13" />
<Button
x:Name="RemindLaterButton"
Margin="0,0,10,0"
Padding="16,10"
Click="RemindLaterButton_Click"
Content="Later"
Cursor="Hand"
FontSize="13" />
<Button
x:Name="DownloadButton"
Padding="20,10"
Click="DownloadButton_Click"
Content="Update Now"
Cursor="Hand"
FontSize="13"
FontWeight="SemiBold"
Background="#FF2196F3"
Foreground="White"
BorderThickness="0" />
</StackPanel>
</Grid>
</Window>