diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index f18553903..ad1c002e6 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -43,6 +43,7 @@ Monitor with Focused Window Primary Monitor Custom Monitor + Search Window Position on Monitor Center Center Top Left Top diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 4477da5f4..96b114dac 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -17,7 +17,6 @@ using DragEventArgs = System.Windows.DragEventArgs; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using NotifyIcon = System.Windows.Forms.NotifyIcon; using Flow.Launcher.Infrastructure; -using System.Windows.Media; using Flow.Launcher.Infrastructure.Hotkey; using Flow.Launcher.Plugin.SharedCommands; using System.Windows.Threading; @@ -25,7 +24,6 @@ using System.Windows.Data; using ModernWpf.Controls; using Key = System.Windows.Input.Key; using System.Media; -using System.Linq; namespace Flow.Launcher { diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index a3b76ffe6..665d16b8f 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -774,19 +774,19 @@ - + + x:Name="SearchWindowPosition" + MinWidth="160" + Margin="0,0,18,0" + VerticalAlignment="Center" + DisplayMemberPath="Display" + FontSize="14" + ItemsSource="{Binding SearchWindowAligns}" + SelectedValue="{Binding Settings.SearchWindowAlign}" + SelectedValuePath="Value"> @@ -800,20 +800,20 @@ + Height="35" + MinWidth="80" + Text="{Binding Settings.CustomWindowLeft}" + TextWrapping="NoWrap" /> + Margin="10" + VerticalAlignment="Center" + Foreground="{DynamicResource Color05B}" + Text="x" /> + Height="35" + MinWidth="80" + Text="{Binding Settings.CustomWindowTop}" + TextWrapping="NoWrap" /> diff --git a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs index f704b8200..9bdf2db4d 100644 --- a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs +++ b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs @@ -22,7 +22,6 @@ using Flow.Launcher.Plugin.SharedModels; using System.Collections.ObjectModel; using CommunityToolkit.Mvvm.Input; using System.Globalization; -using static Flow.Launcher.ViewModel.SettingWindowViewModel; namespace Flow.Launcher.ViewModel {