From cd5b76c988320b10c5326ee927142e360146a65e Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Fri, 10 Oct 2025 06:26:04 -0500 Subject: [PATCH] CmdPal: make the context menu search look more like a cmdpal (#42081) Replaces our styling with the same styleing we use for the search bar But we can't _just_ do that, because the stupid "text cursors don't show up on top of transparent backgrounds" thing. So I just added the smoke backdrop to the search box. Seemed reasonable. Screenshots below. --------- Co-authored-by: Niels Laute --- .../Controls/ContextMenu.xaml | 71 ++++++++++--------- 1 file changed, 39 insertions(+), 32 deletions(-) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContextMenu.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContextMenu.xaml index 8e44d0f420..2c81e8dc37 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContextMenu.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContextMenu.xaml @@ -14,7 +14,6 @@ xmlns:toolkit="using:CommunityToolkit.WinUI.Controls" xmlns:ui="using:CommunityToolkit.WinUI" xmlns:viewModels="using:Microsoft.CmdPal.UI.ViewModels" - Background="Transparent" PreviewKeyDown="UserControl_PreviewKeyDown" mc:Ignorable="d"> @@ -22,7 +21,7 @@ - + 12,8,12,8 - + @@ -71,7 +70,7 @@ - + @@ -114,7 +113,7 @@ @@ -125,35 +124,39 @@ - - - - - - - - - - - + + + + + + + + + @@ -162,9 +165,11 @@ - + - + + + @@ -172,9 +177,11 @@ - + - + + +