diff --git a/SecureFolderFS.WinUI/UserControls/TitleBarControl.xaml b/SecureFolderFS.WinUI/UserControls/TitleBarControl.xaml index 58a7863d..e3e7d87e 100644 --- a/SecureFolderFS.WinUI/UserControls/TitleBarControl.xaml +++ b/SecureFolderFS.WinUI/UserControls/TitleBarControl.xaml @@ -10,10 +10,15 @@ + + + + - + @@ -35,160 +35,160 @@ x:FieldModifier="public" /> - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SecureFolderFS.WinUI/Windows/MainWindow.xaml.cs b/SecureFolderFS.WinUI/Windows/MainWindow.xaml.cs index 98899dce..cbed02e6 100644 --- a/SecureFolderFS.WinUI/Windows/MainWindow.xaml.cs +++ b/SecureFolderFS.WinUI/Windows/MainWindow.xaml.cs @@ -55,6 +55,7 @@ private void EnsureEarlyWindow() { this.ExtendsContentIntoTitleBar = true; SetTitleBar(HostPage.CustomTitleBar); + HostPage.CustomTitleBar.Margin = new Thickness(0, 0, 138, 0); // Don't cover up Window buttons } // Register ThemeHelper