|  | 
| 13 | 13 |         <Setter Property="Background" Value="{DynamicResource WindowForegroundColorBrush}"/> | 
| 14 | 14 |         <Setter Property="BorderThickness" Value="1"/> | 
| 15 | 15 |         <Setter Property="Padding" Value="4,0"/> | 
| 16 |  | -         | 
|  | 16 | +        <Setter Property="VerticalAlignment" Value="Center"/> | 
|  | 17 | +        <Setter Property="HorizontalAlignment" Value="Left"/> | 
| 17 | 18 |         <Setter Property="Template"> | 
| 18 | 19 |             <Setter.Value> | 
| 19 | 20 |                 <ControlTemplate TargetType="{x:Type RadioButton}"> | 
| 20 |  | -                    <BulletDecorator Background="Transparent"> | 
|  | 21 | +                    <BulletDecorator Background="Transparent" | 
|  | 22 | +                                     Margin="{TemplateBinding Margin}"> | 
| 21 | 23 |                         <BulletDecorator.Bullet> | 
| 22 |  | -                            <controls:SmallPanel MinWidth="16" MinHeight="16" > | 
| 23 |  | -                                <Ellipse x:Name="PART_Border"  | 
|  | 24 | +                            <Border VerticalAlignment="{TemplateBinding VerticalAlignment}" | 
|  | 25 | +                                     HorizontalAlignment="{TemplateBinding HorizontalAlignment}"> | 
|  | 26 | +                                <controls:SmallPanel MinWidth="16" MinHeight="16" > | 
|  | 27 | +                                    <Ellipse x:Name="PART_Border"  | 
| 24 | 28 |                                          StrokeThickness="{TemplateBinding BorderThickness}" | 
| 25 | 29 |                                          Fill="{TemplateBinding Background}"  | 
| 26 | 30 |                                          Stroke="{DynamicResource BaseSolidColorBrush}"> | 
| 27 |  | -                                </Ellipse> | 
| 28 |  | -                                <Ellipse x:Name="PART_Ellipse" Fill="{DynamicResource WindowForegroundColorBrush}"  | 
|  | 31 | +                                    </Ellipse> | 
|  | 32 | +                                    <Ellipse x:Name="PART_Ellipse" Fill="{DynamicResource WindowForegroundColorBrush}"  | 
| 29 | 33 |                                          MinWidth="6" MinHeight="6" | 
| 30 | 34 |                                          RenderTransformOrigin=".5,.5"> | 
| 31 |  | -                                    <Ellipse.RenderTransform> | 
| 32 |  | -                                        <ScaleTransform ScaleX="0" ScaleY="0"/> | 
| 33 |  | -                                    </Ellipse.RenderTransform> | 
| 34 |  | -                                </Ellipse> | 
| 35 |  | -                            </controls:SmallPanel> | 
|  | 35 | +                                        <Ellipse.RenderTransform> | 
|  | 36 | +                                            <ScaleTransform ScaleX="0" ScaleY="0"/> | 
|  | 37 | +                                        </Ellipse.RenderTransform> | 
|  | 38 | +                                    </Ellipse> | 
|  | 39 | +                                </controls:SmallPanel> | 
|  | 40 | +                            </Border> | 
| 36 | 41 |                         </BulletDecorator.Bullet> | 
| 37 | 42 |                         <ContentPresenter x:Name="PART_ContentPresenter"  | 
| 38 | 43 |                                           ContentTemplate="{TemplateBinding ContentTemplate}"  | 
|  | 
0 commit comments