From d867875cde0e14c6badaf657f90345fabc16ff82 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 24 Apr 2025 19:46:02 +0800 Subject: [PATCH] Format xaml styles --- Flow.Launcher/ActionKeywords.xaml | 20 +++---- Flow.Launcher/HotkeyControl.xaml | 25 ++++---- Flow.Launcher/HotkeyControlDialog.xaml | 46 +++++++-------- .../Resources/Controls/HotkeyDisplay.xaml | 12 ++-- .../Resources/Pages/WelcomePage1.xaml | 14 ++--- .../Resources/Pages/WelcomePage2.xaml | 12 ++-- .../Resources/Pages/WelcomePage3.xaml | 26 ++++----- .../Resources/Pages/WelcomePage4.xaml | 16 ++--- .../Resources/Pages/WelcomePage5.xaml | 10 ++-- .../Views/SettingsPanePluginStore.xaml | 54 ++++++++--------- .../SettingPages/Views/SettingsPaneProxy.xaml | 8 +-- .../Views/CustomBrowserSetting.xaml | 36 ++++++------ .../Views/ActionKeywordSetting.xaml | 20 +++---- .../AddProgramSource.xaml | 40 ++++++------- .../ProgramSuffixes.xaml | 58 +++++++++---------- 15 files changed, 196 insertions(+), 201 deletions(-) diff --git a/Flow.Launcher/ActionKeywords.xaml b/Flow.Launcher/ActionKeywords.xaml index 740b0d402..887b13126 100644 --- a/Flow.Launcher/ActionKeywords.xaml +++ b/Flow.Launcher/ActionKeywords.xaml @@ -53,11 +53,11 @@ - - + + - + - + @@ -112,20 +112,20 @@ Grid.Row="1" Background="{DynamicResource PopupButtonAreaBGColor}" BorderBrush="{DynamicResource PopupButtonAreaBorderColor}" - BorderThickness="0,1,0,0"> + BorderThickness="0 1 0 0"> - - + + - + @@ -86,23 +86,23 @@ Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" - Margin="5,0,0,20"> + Margin="5 0 0 20"> @@ -180,18 +180,18 @@ Grid.Row="1" Background="{DynamicResource PopupButtonAreaBGColor}" BorderBrush="{DynamicResource PopupButtonAreaBorderColor}" - BorderThickness="0,1,0,0"> + BorderThickness="0 1 0 0"> - - + + - + - + + BorderThickness="0 1 0 0"> - - + + - + @@ -104,16 +104,16 @@ HorizontalAlignment="Stretch" Click="BrowseButton_Click" Content="{DynamicResource flowlauncher_plugin_program_browse}" - Visibility="{Binding IsCustomSource, Converter={StaticResource BooleanToVisibilityConverter}}" - DockPanel.Dock="Right" /> + DockPanel.Dock="Right" + Visibility="{Binding IsCustomSource, Converter={StaticResource BooleanToVisibilityConverter}}" /> + VerticalAlignment="Center" + IsReadOnly="{Binding IsNotCustomSource}" + Text="{Binding Location, Mode=TwoWay}" /> + Margin="10 0" + VerticalAlignment="Center" + IsChecked="{Binding Enabled, Mode=TwoWay}" /> + BorderThickness="0 1 0 0"> - + - + @@ -151,82 +151,82 @@ TextWrapping="Wrap" /> - + - + appref-ms exe lnk + BorderThickness="1 0 0 0"> @@ -237,27 +237,27 @@ Grid.Row="1" Background="{DynamicResource PopupButtonAreaBGColor}" BorderBrush="{DynamicResource PopupButtonAreaBorderColor}" - BorderThickness="0,1,0,0"> + BorderThickness="0 1 0 0">