From f8a8c4ab1facf4d795ea3b37b0874a6a90866609 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Wed, 29 Mar 2023 23:29:20 +0200 Subject: [PATCH] Run check for disabled maximize button on Windows. And also check with client-side decorations. --- .../Controls/CaptionButtons.xaml | 9 ++- .../WindowTests.cs | 55 ++++++++++++++++++- .../WindowTests_MacOS.cs | 16 ------ 3 files changed, 59 insertions(+), 21 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml index 71ae012289..7ce775e4c2 100644 --- a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml @@ -48,7 +48,8 @@