From a0670cb6b3e57dde525af1a04563e94ce80b5390 Mon Sep 17 00:00:00 2001 From: gabrielconl <84711285+gabrielconl@users.noreply.github.com> Date: Thu, 2 Sep 2021 17:34:03 +0300 Subject: [PATCH] Make TabView padding equal (#11115) Doing #10242 again. The space around the tabs was made equal in windowed mode. For maximized mode, I made the titlebar be 33px tall, to compensate for #10746. ![padding](https://user-images.githubusercontent.com/84711285/131723737-d63b015c-2134-465a-a15b-6b44538b95c5.png) --- src/cascadia/TerminalApp/App.xaml | 2 +- src/cascadia/TerminalApp/MinMaxCloseControl.xaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/cascadia/TerminalApp/App.xaml b/src/cascadia/TerminalApp/App.xaml index 46ee22eba..bc77872e3 100644 --- a/src/cascadia/TerminalApp/App.xaml +++ b/src/cascadia/TerminalApp/App.xaml @@ -45,7 +45,7 @@ Color="{ThemeResource SystemErrorTextColor}" /> - 8,0,8,0 + 9,0,8,0 12 diff --git a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml index fd3de4f43..105de2226 100644 --- a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml +++ b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml @@ -9,7 +9,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" HorizontalAlignment="Left" VerticalAlignment="Top" - d:DesignHeight="36" + d:DesignHeight="40" d:DesignWidth="400" Background="Transparent" Orientation="Horizontal" @@ -124,8 +124,9 @@ tabs will be flush with the top of the window. See GH#2541 for details. --> - 36.0 - 32.0 + 40.0 + + 33.0