diff --git a/src/cascadia/TerminalApp/App.xaml b/src/cascadia/TerminalApp/App.xaml index eb9e6b6b7fb..5001d3599ff 100644 --- a/src/cascadia/TerminalApp/App.xaml +++ b/src/cascadia/TerminalApp/App.xaml @@ -48,8 +48,8 @@ 9,0,5,0 - - 12 + + diff --git a/src/cascadia/TerminalApp/CommandPalette.cpp b/src/cascadia/TerminalApp/CommandPalette.cpp index 5d13fdbf972..1bc72516d66 100644 --- a/src/cascadia/TerminalApp/CommandPalette.cpp +++ b/src/cascadia/TerminalApp/CommandPalette.cpp @@ -39,17 +39,6 @@ namespace winrt::TerminalApp::implementation _switchToMode(CommandPaletteMode::ActionMode); - if (CommandPaletteShadow()) - { - // Hook up the shadow on the command palette to the backdrop that - // will actually show it. This needs to be done at runtime, and only - // if the shadow actually exists. ThemeShadow isn't supported below - // version 18362. - CommandPaletteShadow().Receivers().Append(_shadowBackdrop()); - // "raise" the command palette up by 16 units, so it will cast a shadow. - _backdrop().Translation({ 0, 0, 16 }); - } - // Whatever is hosting us will enable us by setting our visibility to // "Visible". When that happens, set focus to our search box. RegisterPropertyChangedCallback(UIElement::VisibilityProperty(), [this](auto&&, auto&&) { diff --git a/src/cascadia/TerminalApp/CommandPalette.xaml b/src/cascadia/TerminalApp/CommandPalette.xaml index 11fa61807c0..ce1581b3605 100644 --- a/src/cascadia/TerminalApp/CommandPalette.xaml +++ b/src/cascadia/TerminalApp/CommandPalette.xaml @@ -6,7 +6,6 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:SettingsModel="using:Microsoft.Terminal.Settings.Model" - xmlns:Windows10version1903="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 8)" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="using:TerminalApp" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" @@ -24,13 +23,6 @@ - - - - @@ -142,16 +134,11 @@ Text="{x:Bind Item.KeyChordText, Mode=OneWay}" /> - - - - - - + FontSize="12" + Glyph="" /> @@ -228,48 +215,13 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + InnerBorderEdge - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + InnerBorderEdge - - - + + + + + + + - - - - + Shadow="{StaticResource SharedShadow}" + Translation="0,0,16"> + KeyDown="TextBoxKeyDown" /> + IsChecked="True"> + Width="32" + Height="32" + Margin="4,0" + Padding="0" + BackgroundSizing="OuterBorderEdge" + Click="GoForwardClicked"> @@ -270,14 +191,22 @@ + Width="32" + Height="32" + Margin="4,0" + Padding="0" + BackgroundSizing="OuterBorderEdge">