Skip to content

Commit

Permalink
- FIXED round/circle CheckBoxes style (extra radius def)
Browse files Browse the repository at this point in the history
  • Loading branch information
pediRAM committed Oct 15, 2023
1 parent a4d2ac9 commit 4630202
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/Resources/Styles/StylesResourceDictionary.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@
xmlns:mdxaml="clr-namespace:MdXaml;assembly=MdXaml">

<sys:Double x:Key="Radius">5</sys:Double>
<sys:Double x:Key="RadiusCheckBox">2</sys:Double>
<CornerRadius x:Key="RoundCorner"
TopLeft="{StaticResource ResourceKey=Radius}"
TopRight="{StaticResource ResourceKey=Radius}"
BottomLeft="{StaticResource ResourceKey=Radius}"
BottomRight="{StaticResource ResourceKey=Radius}"/>

<CornerRadius x:Key="RoundCornerCheckBox"
TopLeft="{StaticResource ResourceKey=RadiusCheckBox}"
TopRight="{StaticResource ResourceKey=RadiusCheckBox}"
BottomLeft="{StaticResource ResourceKey=RadiusCheckBox}"
BottomRight="{StaticResource ResourceKey=RadiusCheckBox}"/>

<Style TargetType="Menu">
<Setter Property="Padding" Value="15,0,0,5"/>
</Style>
Expand Down Expand Up @@ -137,7 +144,7 @@
<Setter Property="IsThreeState" Value="False" />
<Style.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="{StaticResource ResourceKey=RoundCorner}"/>
<Setter Property="CornerRadius" Value="{StaticResource ResourceKey=RoundCornerCheckBox}"/>
</Style>
</Style.Resources>
</Style>
Expand Down

0 comments on commit 4630202

Please # to comment.