From c28046cbbc2f6dceb1319ae312b13c7a75513116 Mon Sep 17 00:00:00 2001 From: Mathis Rech Date: Tue, 3 Mar 2020 21:00:14 +0100 Subject: [PATCH 1/2] Fix padding inconsistency The padding is always added to the side the headers are at, except when the headers are right, when the padding is at the bottom. I believe this was a typo. --- src/Avalonia.Themes.Default/TabControl.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Themes.Default/TabControl.xaml b/src/Avalonia.Themes.Default/TabControl.xaml index dc3597e9d9..ed2e67df28 100644 --- a/src/Avalonia.Themes.Default/TabControl.xaml +++ b/src/Avalonia.Themes.Default/TabControl.xaml @@ -57,6 +57,6 @@ From a6e86ae03e348d070f21864692014e67dd00133a Mon Sep 17 00:00:00 2001 From: Benedikt Schroeder Date: Thu, 5 Mar 2020 06:36:44 +0100 Subject: [PATCH 2/2] Invalidate TextBox when text changes by binding --- src/Avalonia.Controls/Presenters/TextPresenter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Avalonia.Controls/Presenters/TextPresenter.cs b/src/Avalonia.Controls/Presenters/TextPresenter.cs index ca893f3171..bf75769dcd 100644 --- a/src/Avalonia.Controls/Presenters/TextPresenter.cs +++ b/src/Avalonia.Controls/Presenters/TextPresenter.cs @@ -82,6 +82,7 @@ namespace Avalonia.Controls.Presenters SelectionStartProperty, SelectionEndProperty); Observable.Merge( + TextProperty.Changed, SelectionStartProperty.Changed, SelectionEndProperty.Changed, PasswordCharProperty.Changed