From ff873cb5b8d0993eab06b490f85fbfcbd6f28cc2 Mon Sep 17 00:00:00 2001 From: Maksym Katsydan Date: Thu, 13 Aug 2020 19:22:15 -0400 Subject: [PATCH] Fluent TextBox: Add TextBoxClearButton style --- samples/ControlCatalog/Pages/TextBoxPage.xaml | 2 +- src/Avalonia.Themes.Fluent/TextBox.xaml | 57 ++++++++++++++++++- 2 files changed, 56 insertions(+), 3 deletions(-) diff --git a/samples/ControlCatalog/Pages/TextBoxPage.xaml b/samples/ControlCatalog/Pages/TextBoxPage.xaml index 099d40b3de..481a459159 100644 --- a/samples/ControlCatalog/Pages/TextBoxPage.xaml +++ b/samples/ControlCatalog/Pages/TextBoxPage.xaml @@ -39,7 +39,7 @@ - + resm fonts diff --git a/src/Avalonia.Themes.Fluent/TextBox.xaml b/src/Avalonia.Themes.Fluent/TextBox.xaml index 3c5bd74f38..0fe5f9061f 100644 --- a/src/Avalonia.Themes.Fluent/TextBox.xaml +++ b/src/Avalonia.Themes.Fluent/TextBox.xaml @@ -4,12 +4,14 @@ 0,0,0,4 + M1169 1024l879 -879l-145 -145l-879 879l-879 -879l-145 145l879 879l-879 879l145 145l879 -879l879 879l145 -145z @@ -179,12 +181,63 @@ - + + + + + + + + + + + + +