diff --git a/samples/ControlCatalog/MainWindow.xaml b/samples/ControlCatalog/MainWindow.xaml index b110451421..157df05030 100644 --- a/samples/ControlCatalog/MainWindow.xaml +++ b/samples/ControlCatalog/MainWindow.xaml @@ -66,20 +66,20 @@ - + - - - - - - - - - - - + + + + + + + + + + + diff --git a/samples/ControlCatalog/ViewModels/MainWindowViewModel.cs b/samples/ControlCatalog/ViewModels/MainWindowViewModel.cs index b3ea25e470..5e9b02db06 100644 --- a/samples/ControlCatalog/ViewModels/MainWindowViewModel.cs +++ b/samples/ControlCatalog/ViewModels/MainWindowViewModel.cs @@ -70,11 +70,6 @@ namespace ControlCatalog.ViewModels { ChromeHints = ExtendClientAreaChromeHints.NoChrome; - if(x.Item1) - { - ChromeHints |= ExtendClientAreaChromeHints.SystemChromeButtons; - } - if(x.Item2) { ChromeHints |= ExtendClientAreaChromeHints.ManagedChromeButtons; diff --git a/src/Avalonia.Themes.Default/Window.xaml b/src/Avalonia.Themes.Default/Window.xaml index 09fec62d02..fa82b760ba 100644 --- a/src/Avalonia.Themes.Default/Window.xaml +++ b/src/Avalonia.Themes.Default/Window.xaml @@ -5,7 +5,9 @@ - + + +