File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ static PackIcon()
1919 DefaultStyleKeyProperty . OverrideMetadata ( typeof ( PackIcon ) , new FrameworkPropertyMetadata ( typeof ( PackIcon ) ) ) ;
2020 }
2121
22- public PackIcon ( ) : base ( PackIconDataFactory . Create )
23- {
24- FlowDirection = FlowDirection . LeftToRight ;
25- }
22+ public PackIcon ( ) : base ( PackIconDataFactory . Create ) { }
2623 }
2724}
Original file line number Diff line number Diff line change 787787 <Setter Property =" HorizontalAlignment" Value =" Left" />
788788 <Setter Property =" VerticalAlignment" Value =" Top" />
789789 <Setter Property =" IsTabStop" Value =" False" />
790+ <Setter Property =" FlowDirection" Value =" LeftToRight" />
790791 <Setter Property =" Template" >
791792 <Setter .Value>
792793 <ControlTemplate TargetType =" {x:Type local:PackIcon}" >
793794 <Border Background =" {TemplateBinding Background}"
794795 BorderBrush =" {TemplateBinding BorderBrush}"
795796 BorderThickness =" {TemplateBinding BorderThickness}" >
796- <Viewbox >
797+ <Viewbox FlowDirection = " LeftToRight " >
797798 <Canvas Width =" 24" Height =" 24" >
798799 <Path Data =" {Binding Data, RelativeSource={RelativeSource TemplatedParent}}"
799800 Fill =" {TemplateBinding Foreground}" />
You can’t perform that action at this time.
0 commit comments