Skip to content

Commit

Permalink
fix: fix merge issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitism committed Oct 31, 2024
1 parent c79c21a commit 9c96ffe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion demo/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Nullable>enable</Nullable>
<AvaloniaVersion>11.2.0-rc1</AvaloniaVersion>
<AvaloniaVersion>11.2.0</AvaloniaVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Package.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Version>1.6.0</Version>
<AvaloniaVersion>11.2.0</AvaloniaVersion>
<Version>1.5.0</Version>
<AvaloniaVersion>11.1.4</AvaloniaVersion>
<Authors>IRIHI Technology Co., Ltd.</Authors>
<RepositoryUrl>https://github.com/irihitech/Ursa.Avalonia</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
24 changes: 6 additions & 18 deletions src/Ursa.Themes.Semi/Controls/Divider.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,16 @@
</Design.PreviewWith>
<!-- Add Resources Here -->
<ControlTheme x:Key="DividerLeftLine" TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="{DynamicResource DividerBorderBrush}" />
<Setter Property="Height" Value="{DynamicResource SizeDividerWidth}" />
<Setter Property="MinWidth" Value="{DynamicResource SizeDividerLeftMinWidth}" />
<Setter Property="Rectangle.Fill" Value="{DynamicResource DividerBorderBrush}" />
<Setter Property="Rectangle.Height" Value="{DynamicResource SizeDividerWidth}" />
<Setter Property="Rectangle.MinWidth" Value="{DynamicResource SizeDividerLeftMinWidth}" />
<Setter Property="VerticalAlignment" Value="Center" />
</ControlTheme>

<ControlTheme x:Key="DividerRightLine" TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="{DynamicResource DividerBorderBrush}" />
<Setter Property="Height" Value="{DynamicResource SizeDividerWidth}" />
<Setter Property="MinWidth" Value="{DynamicResource SizeDividerRightMinWidth}" />
<Setter Property="VerticalAlignment" Value="Center" />
</ControlTheme>

<ControlTheme x:Key="DividerContentPresenter" TargetType="{x:Type ContentPresenter}">
<Setter Property="Content" Value="{TemplateBinding Content}" />
<Setter Property="Background" Value="{TemplateBinding Background}" />
<Setter Property="Foreground" Value="{TemplateBinding Foreground}" />
<Setter Property="ContentTemplate" Value="{TemplateBinding ContentTemplate}" />
<Setter Property="FontFamily" Value="{TemplateBinding FontFamily}" />
<Setter Property="FontWeight" Value="{TemplateBinding FontWeight}" />
<Setter Property="FontSize" Value="{TemplateBinding FontSize}" />
<Setter Property="Margin" Value="{DynamicResource ThicknessDividerTextMargin}" />
<Setter Property="Rectangle.Fill" Value="{DynamicResource DividerBorderBrush}" />
<Setter Property="Rectangle.Height" Value="{DynamicResource SizeDividerWidth}" />
<Setter Property="Rectangle.MinWidth" Value="{DynamicResource SizeDividerRightMinWidth}" />
<Setter Property="VerticalAlignment" Value="Center" />
</ControlTheme>

Expand Down

0 comments on commit 9c96ffe

Please sign in to comment.