|
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"> |
| 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 | + DataContext="{Binding RelativeSource={RelativeSource Self}}" |
| 13 | + mc:Ignorable="d"> |
13 | 14 | <Page.Resources>
|
14 | 15 | <Style x:Key="StyleImageFadeIn" TargetType="{x:Type Image}">
|
15 | 16 | <Setter Property="Opacity" Value="0" />
|
|
20 | 21 | <BeginStoryboard>
|
21 | 22 | <BeginStoryboard.Storyboard>
|
22 | 23 | <Storyboard x:Name="FadeIn">
|
23 |
| - <DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:2"> |
| 24 | + <DoubleAnimation |
| 25 | + Storyboard.TargetProperty="Opacity" |
| 26 | + To="1" |
| 27 | + Duration="0:0:2"> |
24 | 28 | <DoubleAnimation.EasingFunction>
|
25 | 29 | <QuadraticEase EasingMode="EaseOut" />
|
26 | 30 | </DoubleAnimation.EasingFunction>
|
|
51 | 55 | </Border.Background>
|
52 | 56 |
|
53 | 57 | <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
54 |
| - <Image Name="Logo" |
55 |
| - Width="90" |
56 |
| - Height="90" |
57 |
| - Source="../../images/app.png" |
58 |
| - Style="{DynamicResource StyleImageFadeIn}" /> |
| 58 | + <Image |
| 59 | + Name="Logo" |
| 60 | + Width="90" |
| 61 | + Height="90" |
| 62 | + Source="../../images/app.png" |
| 63 | + Style="{DynamicResource StyleImageFadeIn}" /> |
59 | 64 | </StackPanel>
|
60 | 65 | </Border>
|
61 | 66 |
|
62 | 67 | <StackPanel Grid.Row="1" Margin="24,20,24,20">
|
63 | 68 | <StackPanel>
|
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" /> |
| 69 | + <TextBlock |
| 70 | + FontSize="20" |
| 71 | + FontWeight="SemiBold" |
| 72 | + Text="{DynamicResource Welcome_Page5_Title}" /> |
| 73 | + <TextBlock |
| 74 | + Margin="0,10,0,0" |
| 75 | + FontSize="14" |
| 76 | + Text="{DynamicResource Welcome_Page5_Text01}" |
| 77 | + TextWrapping="WrapWithOverflow" /> |
69 | 78 | <StackPanel Margin="0,30,0,0" Orientation="Horizontal">
|
70 |
| - <CheckBox IsChecked="{Binding Settings.HideOnStartup}" Style="{DynamicResource DefaultCheckBoxStyle}" /> |
71 |
| - <TextBlock Margin="0,5,0,0" |
72 |
| - FontSize="14" |
73 |
| - FontWeight="SemiBold" |
74 |
| - Text="{DynamicResource hideOnStartup}" /> |
75 |
| - |
| 79 | + <CheckBox |
| 80 | + Checked="OnAutoStartupChecked" |
| 81 | + Content="{DynamicResource startFlowLauncherOnSystemStartup}" |
| 82 | + IsChecked="{Binding Settings.StartFlowLauncherOnSystemStartup}" |
| 83 | + Style="{DynamicResource DefaultCheckBoxStyle}" |
| 84 | + Unchecked="OnAutoStartupUncheck" /> |
76 | 85 | </StackPanel>
|
77 | 86 | <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
|
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}" /> |
86 |
| - |
| 87 | + <CheckBox |
| 88 | + Checked="OnHideOnStartupChecked" |
| 89 | + Content="{DynamicResource hideOnStartup}" |
| 90 | + IsChecked="{Binding Settings.HideOnStartup}" |
| 91 | + Style="{DynamicResource DefaultCheckBoxStyle}" |
| 92 | + Unchecked="OnHideOnStartupUnchecked" /> |
87 | 93 | </StackPanel>
|
88 |
| - <Button Width="150" |
89 |
| - Height="40" |
90 |
| - Margin="0,60,0,0" |
91 |
| - HorizontalAlignment="Right" |
92 |
| - Content="{DynamicResource done}" |
93 |
| - Style="{DynamicResource AccentButtonStyle}" /> |
| 94 | + <Button |
| 95 | + Width="150" |
| 96 | + Height="40" |
| 97 | + Margin="0,60,0,0" |
| 98 | + HorizontalAlignment="Right" |
| 99 | + Content="{DynamicResource done}" |
| 100 | + Style="{DynamicResource AccentButtonStyle}" /> |
94 | 101 | </StackPanel>
|
95 | 102 |
|
96 | 103 | </StackPanel>
|
|
0 commit comments