From fa92100b3be4295f475fda9d919fffcb46cace44 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:18:41 +0200 Subject: [PATCH 1/2] chore: Remove `ContentTemplateSelector` references from Styles --- src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml b/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml index edb3e5f77ac2..25f6fb7ebad9 100644 --- a/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml +++ b/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml @@ -45,7 +45,6 @@ - @@ -4816,7 +4803,6 @@ Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" ContentTransitions="{TemplateBinding ContentTransitions}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" /> @@ -4852,7 +4838,6 @@ CornerRadius="{TemplateBinding CornerRadius}" ContentTransitions="{TemplateBinding ContentTransitions}" ContentTemplate="{TemplateBinding ContentTemplate}" - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Padding="{TemplateBinding Padding}" /> @@ -5258,7 +5243,6 @@ @@ -5882,7 +5865,6 @@ - Date: Fri, 15 Nov 2024 09:46:56 +0100 Subject: [PATCH 2/2] chore: Add CornerRadius --- src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml b/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml index 25f6fb7ebad9..91adc19057e8 100644 --- a/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml +++ b/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml @@ -202,6 +202,7 @@ Content="{TemplateBinding Content}" ContentTransitions="{TemplateBinding ContentTransitions}" ContentTemplate="{TemplateBinding ContentTemplate}" + CornerRadius="{TemplateBinding CornerRadius}" Padding="{TemplateBinding Padding}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"