From 36c5ad4621d372cf932f1259c77a23c4d1cb6962 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Sun, 14 Jun 2020 15:47:47 -0300 Subject: [PATCH] titlebar / caption buttons use same template in default theme. --- .../CaptionButtons.xaml | 30 ++++++------ src/Avalonia.Themes.Default/TitleBar.xaml | 46 ++++++++++++++++--- 2 files changed, 54 insertions(+), 22 deletions(-) diff --git a/src/Avalonia.Themes.Default/CaptionButtons.xaml b/src/Avalonia.Themes.Default/CaptionButtons.xaml index 49a32f9598..282448bdd5 100644 --- a/src/Avalonia.Themes.Default/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Default/CaptionButtons.xaml @@ -1,11 +1,6 @@ - - - - - - - - + - + - + - + - + @@ -69,4 +64,7 @@ - + + diff --git a/src/Avalonia.Themes.Default/TitleBar.xaml b/src/Avalonia.Themes.Default/TitleBar.xaml index 856b90857c..45798d3fa1 100644 --- a/src/Avalonia.Themes.Default/TitleBar.xaml +++ b/src/Avalonia.Themes.Default/TitleBar.xaml @@ -5,15 +5,49 @@ + + + + + + + + + + + +