This commit is contained in:
NaBian committed 2020-09-01 00:50:21 +08:00
1 parent c6763a4b10
commit c6262c0ebd
4 files changed
+96 -23

No files matched your search

@@ -16,7 +16,7 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="hc:RunningBlock">
<Border CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" Padding="{TemplateBinding Padding}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
<hc:RunningBorder CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" Padding="{TemplateBinding Padding}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
<hc:SimplePanel ClipToBounds="True">
<hc:SimplePanel HorizontalAlignment="Left" x:Name="PART_Panel">
<ContentPresenter x:Name="PART_ContentElement" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left">
@@ -28,7 +28,7 @@
</ContentPresenter>
</hc:SimplePanel>
</hc:SimplePanel>
</Border>
</hc:RunningBorder>
</ControlTemplate>
</Setter.Value>
</Setter>