From 9983d83acf42b2b8f117ae3d88bd4a145fa557eb Mon Sep 17 00:00:00 2001 From: dansmor7 <101892345+dansmor7@users.noreply.github.com> Date: Mon, 20 Jun 2022 11:00:56 -0700 Subject: [PATCH 1/2] Update caption buttons to use glyphs --- .../TerminalApp/MinMaxCloseControl.xaml | 167 +++++++++++------- 1 file changed, 102 insertions(+), 65 deletions(-) diff --git a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml index fe244a6893d..163c1c30b2a 100644 --- a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml +++ b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml @@ -20,70 +20,73 @@ #C42B1C - 1.0 - - - - Transparent - - - #00e81123 + Color="#00C42B1C" /> + #00C42B1C + + #C42B1C - 1.0 - - - - Transparent - - - #00e81123 + Color="#00C42B1C" /> + #00C42B1C + + - 2.0 - - - - - - + + - M 0 0 L 10 10 M 10 0 L 0 10 - M 0 0 L 10 10 M 10 0 L 0 10 + + + + + + + + + + + - M 1.516 -0.001 L 7.451 0.009 C 8.751 0.019 9 1 8.981 1.477 L 9.002 7.558 M 9.002 7.547 C 8.929 8.669 8 9 7.43 9.015 L 1.464 9.005 C 0.374 8.973 0 8 -0.004 7.484 L -0.004 1.477 C 0 1 0.415 0.009 1.527 -0.001 - M 1.516 -0.001 L 7.451 0.009 C 8.751 0.019 9 1 8.981 1.477 L 9.002 7.558 M 11 6 L 11 2 C 11 0 10 -2 8.011 -1.946 L 7.06 -1.969 L 3 -2 M 9.002 7.547 C 8.929 8.669 8 9 7.43 9.015 L 1.464 9.005 C 0.374 8.973 0 8 -0.004 7.484 L -0.004 1.477 C 0 1 0.415 0.009 1.527 -0.001 + + + + + + + + + + + @@ -283,42 +316,46 @@ ResourceKey="CloseButtonBackgroundPointerOver" /> - - + + + - - + + + - - + + + - - M 0 0 L 10 10 M 10 0 L 0 10 From b1bedbffc375de275799bbda9cfe54df70be2592 Mon Sep 17 00:00:00 2001 From: dansmor7 <101892345+dansmor7@users.noreply.github.com> Date: Wed, 29 Jun 2022 04:16:50 -0700 Subject: [PATCH 2/2] Wrap icon --- src/cascadia/TerminalApp/MinMaxCloseControl.xaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml index 163c1c30b2a..c229580a2b8 100644 --- a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml +++ b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml @@ -165,11 +165,13 @@ BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> - + + +