Skip to content

Commit f709c44

Browse files
committed
Remove useless controls
1 parent 9c8e7a9 commit f709c44

File tree

1 file changed

+37
-45
lines changed

1 file changed

+37
-45
lines changed

Flow.Launcher/Resources/Pages/WelcomePage5.xaml

Lines changed: 37 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -80,51 +80,43 @@
8080
</Border>
8181

8282
<StackPanel Grid.Row="1" Margin="24 20 24 20">
83-
<StackPanel>
84-
<TextBlock
85-
FontSize="20"
86-
FontWeight="SemiBold"
87-
Text="{DynamicResource Welcome_Page5_Title}" />
88-
<TextBlock
89-
Margin="0 10 0 0"
90-
FontSize="14"
91-
Text="{DynamicResource Welcome_Page5_Text01}"
92-
TextWrapping="WrapWithOverflow" />
93-
<StackPanel Margin="0 30 0 0" Orientation="Horizontal">
94-
<CheckBox
95-
Checked="OnAutoStartupChecked"
96-
Content="{DynamicResource startFlowLauncherOnSystemStartup}"
97-
IsChecked="{Binding Settings.StartFlowLauncherOnSystemStartup}"
98-
Style="{DynamicResource DefaultCheckBoxStyle}"
99-
Unchecked="OnAutoStartupUncheck" />
100-
</StackPanel>
101-
<StackPanel Margin="0 30 0 0" Orientation="Horizontal">
102-
<CheckBox
103-
Checked="OnUseLogonTaskChecked"
104-
Content="{DynamicResource useLogonTaskForStartup}"
105-
IsChecked="{Binding Settings.UseLogonTaskForStartup}"
106-
Style="{DynamicResource DefaultCheckBoxStyle}"
107-
ToolTip="{DynamicResource useLogonTaskForStartupTooltip}"
108-
Unchecked="OnUseLogonTaskUncheck" />
109-
</StackPanel>
110-
<StackPanel Margin="0 0 0 0" Orientation="Horizontal">
111-
<CheckBox
112-
Checked="OnHideOnStartupChecked"
113-
Content="{DynamicResource hideOnStartup}"
114-
IsChecked="{Binding Settings.HideOnStartup}"
115-
Style="{DynamicResource DefaultCheckBoxStyle}"
116-
Unchecked="OnHideOnStartupUnchecked" />
117-
</StackPanel>
118-
<Button
119-
Width="150"
120-
Height="40"
121-
Margin="0 60 0 0"
122-
HorizontalAlignment="Right"
123-
Click="BtnCancel_OnClick"
124-
Content="{DynamicResource done}"
125-
Style="{DynamicResource AccentButtonStyle}" />
126-
</StackPanel>
127-
83+
<TextBlock
84+
FontSize="20"
85+
FontWeight="SemiBold"
86+
Text="{DynamicResource Welcome_Page5_Title}" />
87+
<TextBlock
88+
Margin="0 10 0 0"
89+
FontSize="14"
90+
Text="{DynamicResource Welcome_Page5_Text01}"
91+
TextWrapping="WrapWithOverflow" />
92+
<CheckBox
93+
Margin="0 30 0 0"
94+
Checked="OnAutoStartupChecked"
95+
Content="{DynamicResource startFlowLauncherOnSystemStartup}"
96+
IsChecked="{Binding Settings.StartFlowLauncherOnSystemStartup}"
97+
Style="{DynamicResource DefaultCheckBoxStyle}"
98+
Unchecked="OnAutoStartupUncheck" />
99+
<CheckBox
100+
Checked="OnUseLogonTaskChecked"
101+
Content="{DynamicResource useLogonTaskForStartup}"
102+
IsChecked="{Binding Settings.UseLogonTaskForStartup}"
103+
Style="{DynamicResource DefaultCheckBoxStyle}"
104+
ToolTip="{DynamicResource useLogonTaskForStartupTooltip}"
105+
Unchecked="OnUseLogonTaskUncheck" />
106+
<CheckBox
107+
Checked="OnHideOnStartupChecked"
108+
Content="{DynamicResource hideOnStartup}"
109+
IsChecked="{Binding Settings.HideOnStartup}"
110+
Style="{DynamicResource DefaultCheckBoxStyle}"
111+
Unchecked="OnHideOnStartupUnchecked" />
112+
<Button
113+
Width="150"
114+
Height="40"
115+
Margin="0 30 0 0"
116+
HorizontalAlignment="Right"
117+
Click="BtnCancel_OnClick"
118+
Content="{DynamicResource done}"
119+
Style="{DynamicResource AccentButtonStyle}" />
128120
</StackPanel>
129121
</Grid>
130122
</ScrollViewer>

0 commit comments

Comments
 (0)