|
1 |
| -<Page |
2 |
| - x:Class="Flow.Launcher.Resources.Pages.WelcomePage5" |
3 |
| - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
| - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 |
| - xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages" |
7 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
8 |
| - xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
9 |
| - Title="WelcomePage5" |
10 |
| - d:DesignHeight="450" |
11 |
| - d:DesignWidth="800" |
12 |
| - mc:Ignorable="d"> |
| 1 | +<Page x:Class="Flow.Launcher.Resources.Pages.WelcomePage5" |
| 2 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 5 | + xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages" |
| 6 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 7 | + xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
| 8 | + Title="WelcomePage5" |
| 9 | + d:DesignHeight="450" |
| 10 | + d:DesignWidth="800" |
| 11 | + DataContext="{Binding RelativeSource={RelativeSource Self}}" |
| 12 | + mc:Ignorable="d"> |
13 | 13 | <Page.Resources>
|
14 | 14 | <Style x:Key="StyleImageFadeIn" TargetType="{x:Type Image}">
|
15 | 15 | <Setter Property="Opacity" Value="0" />
|
|
20 | 20 | <BeginStoryboard>
|
21 | 21 | <BeginStoryboard.Storyboard>
|
22 | 22 | <Storyboard x:Name="FadeIn">
|
23 |
| - <DoubleAnimation |
24 |
| - Storyboard.TargetProperty="Opacity" |
25 |
| - To="1" |
26 |
| - Duration="0:0:2"> |
| 23 | + <DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:2"> |
27 | 24 | <DoubleAnimation.EasingFunction>
|
28 | 25 | <QuadraticEase EasingMode="EaseOut" />
|
29 | 26 | </DoubleAnimation.EasingFunction>
|
|
54 | 51 | </Border.Background>
|
55 | 52 |
|
56 | 53 | <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
57 |
| - <Image |
58 |
| - Name="Logo" |
59 |
| - Width="90" |
60 |
| - Height="90" |
61 |
| - Source="../../images/app.png" |
62 |
| - Style="{DynamicResource StyleImageFadeIn}" /> |
| 54 | + <Image Name="Logo" |
| 55 | + Width="90" |
| 56 | + Height="90" |
| 57 | + Source="../../images/app.png" |
| 58 | + Style="{DynamicResource StyleImageFadeIn}" /> |
63 | 59 | </StackPanel>
|
64 | 60 | </Border>
|
65 | 61 |
|
66 | 62 | <StackPanel Grid.Row="1" Margin="24,20,24,20">
|
67 | 63 | <StackPanel>
|
68 |
| - <TextBlock |
69 |
| - FontSize="20" |
70 |
| - FontWeight="SemiBold" |
71 |
| - Text="{DynamicResource Welcome_Page5_Title}" /> |
72 |
| - <TextBlock |
73 |
| - Margin="0,10,0,0" |
74 |
| - FontSize="14" |
75 |
| - Text="{DynamicResource Welcome_Page5_Text01}" |
76 |
| - TextWrapping="WrapWithOverflow" /> |
| 64 | + <TextBlock FontSize="20" FontWeight="SemiBold" Text="{DynamicResource Welcome_Page5_Title}" /> |
| 65 | + <TextBlock Margin="0,10,0,0" |
| 66 | + FontSize="14" |
| 67 | + Text="{DynamicResource Welcome_Page5_Text01}" |
| 68 | + TextWrapping="WrapWithOverflow" /> |
77 | 69 | <StackPanel Margin="0,30,0,0" Orientation="Horizontal">
|
78 | 70 | <CheckBox IsChecked="{Binding Settings.HideOnStartup}" Style="{DynamicResource DefaultCheckBoxStyle}" />
|
79 |
| - <TextBlock |
80 |
| - Margin="0,5,0,0" |
81 |
| - FontSize="14" |
82 |
| - FontWeight="SemiBold" |
83 |
| - Text="{DynamicResource hideOnStartup}" /> |
| 71 | + <TextBlock Margin="0,5,0,0" |
| 72 | + FontSize="14" |
| 73 | + FontWeight="SemiBold" |
| 74 | + Text="{DynamicResource hideOnStartup}" /> |
84 | 75 |
|
85 | 76 | </StackPanel>
|
86 | 77 | <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
|
87 |
| - <CheckBox |
88 |
| - Checked="OnAutoStartupChecked" |
89 |
| - IsChecked="{Binding Settings.StartFlowLauncherOnSystemStartup}" |
90 |
| - Style="{DynamicResource DefaultCheckBoxStyle}" |
91 |
| - Unchecked="OnAutoStartupUncheck" /> |
92 |
| - <TextBlock |
93 |
| - Margin="0,5,0,0" |
94 |
| - FontSize="14" |
95 |
| - FontWeight="SemiBold" |
96 |
| - Text="{DynamicResource startFlowLauncherOnSystemStartup}" /> |
| 78 | + <CheckBox Checked="OnAutoStartupChecked" |
| 79 | + IsChecked="{Binding Settings.StartFlowLauncherOnSystemStartup}" |
| 80 | + Style="{DynamicResource DefaultCheckBoxStyle}" |
| 81 | + Unchecked="OnAutoStartupUncheck" /> |
| 82 | + <TextBlock Margin="0,5,0,0" |
| 83 | + FontSize="14" |
| 84 | + FontWeight="SemiBold" |
| 85 | + Text="{DynamicResource startFlowLauncherOnSystemStartup}" /> |
97 | 86 |
|
98 | 87 | </StackPanel>
|
99 |
| - <Button |
100 |
| - Width="150" |
101 |
| - Height="40" |
102 |
| - Margin="0,60,0,0" |
103 |
| - HorizontalAlignment="Right" |
104 |
| - Content="{DynamicResource done}" |
105 |
| - Style="{DynamicResource AccentButtonStyle}" /> |
| 88 | + <Button Width="150" |
| 89 | + Height="40" |
| 90 | + Margin="0,60,0,0" |
| 91 | + HorizontalAlignment="Right" |
| 92 | + Content="{DynamicResource done}" |
| 93 | + Style="{DynamicResource AccentButtonStyle}" /> |
106 | 94 | </StackPanel>
|
107 | 95 |
|
108 | 96 | </StackPanel>
|
|
0 commit comments