diff --git a/demo/Directory.Build.props b/demo/Directory.Build.props index e25d59ce..4c822aed 100644 --- a/demo/Directory.Build.props +++ b/demo/Directory.Build.props @@ -1,6 +1,6 @@ enable - 11.1.3 + 11.2.0-beta1 diff --git a/src/Package.props b/src/Package.props index 84387aed..cf9ed475 100644 --- a/src/Package.props +++ b/src/Package.props @@ -1,7 +1,7 @@ 1.3.0 - 11.1.1 + 11.2.0-beta1 IRIHI Technology Co., Ltd. https://github.com/irihitech/Ursa.Avalonia MIT diff --git a/src/Ursa.Themes.Semi/Controls/Divider.axaml b/src/Ursa.Themes.Semi/Controls/Divider.axaml index 2469b3b3..d82ad1a4 100644 --- a/src/Ursa.Themes.Semi/Controls/Divider.axaml +++ b/src/Ursa.Themes.Semi/Controls/Divider.axaml @@ -22,18 +22,6 @@ - - - - - - - - - - - - @@ -49,8 +37,12 @@ + Content="{TemplateBinding Content}" + Background="{TemplateBinding Background}" + Foreground="{TemplateBinding Foreground}" + ContentTemplate="{TemplateBinding ContentTemplate}" + Margin="{DynamicResource ThicknessDividerTextMargin}" + IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/> @@ -66,8 +58,12 @@ + Content="{TemplateBinding Content}" + Background="{TemplateBinding Background}" + Foreground="{TemplateBinding Foreground}" + ContentTemplate="{TemplateBinding ContentTemplate}" + Margin="{DynamicResource ThicknessDividerTextMargin}" + IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/> @@ -83,8 +79,12 @@ + Content="{TemplateBinding Content}" + Background="{TemplateBinding Background}" + Foreground="{TemplateBinding Foreground}" + ContentTemplate="{TemplateBinding ContentTemplate}" + Margin="{DynamicResource ThicknessDividerTextMargin}" + IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/> @@ -100,8 +100,12 @@ + Content="{TemplateBinding Content}" + Background="{TemplateBinding Background}" + Foreground="{TemplateBinding Foreground}" + ContentTemplate="{TemplateBinding ContentTemplate}" + Margin="{DynamicResource ThicknessDividerTextMargin}" + IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/> diff --git a/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml b/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml index aafb7f0e..45bc28ca 100644 --- a/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml +++ b/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml @@ -11,36 +11,13 @@ - - - - True - - - False - - - - - - - True - - - False - - - - - - - True - - - False - - - +