From b5bd37094f7affe7b38937a80562d449e7abc884 Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 20 Apr 2024 03:04:10 +0900 Subject: [PATCH] Adjust HotkeyPopup Style --- Flow.Launcher/HotkeyControl2Dialog.xaml | 114 ++++++++++++++++++------ Flow.Launcher/Languages/en.xaml | 9 +- Flow.Launcher/SettingWindow.xaml | 7 +- 3 files changed, 100 insertions(+), 30 deletions(-) diff --git a/Flow.Launcher/HotkeyControl2Dialog.xaml b/Flow.Launcher/HotkeyControl2Dialog.xaml index c70cc533b..1dcae03e9 100644 --- a/Flow.Launcher/HotkeyControl2Dialog.xaml +++ b/Flow.Launcher/HotkeyControl2Dialog.xaml @@ -3,7 +3,12 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ui="http://schemas.modernwpf.com/2019" + Background="{DynamicResource PopuBGColor}" + BorderBrush="{DynamicResource PopupButtonAreaBorderColor}" + BorderThickness="0,1,0,0" + CornerRadius="8" DataContext="{Binding RelativeSource={RelativeSource Self}}" + Foreground="{DynamicResource PopupTextColor}" PreviewKeyDown="OnPreviewKeyDown" Style="{DynamicResource ContentDialog}"> @@ -12,26 +17,40 @@ - - - - + - + - + + + + + Grid.Column="0" + Grid.ColumnSpan="2" + Width="450" + Height="250" + Padding="26,12,26,0"> @@ -42,11 +61,20 @@ - + @@ -56,24 +84,60 @@ - -