Skip to content

Commit 8969336

Browse files
authored
VerticalContentAlignment to Center for MaterialDesignUserForegroundRadioButton (#1727) (#1740)
1 parent 876500a commit 8969336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RadioButton.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
<Style x:Key="MaterialDesignUserForegroundRadioButton" TargetType="{x:Type RadioButton}">
138138
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
139139
<Setter Property="BorderThickness" Value="1"/>
140+
<Setter Property="VerticalContentAlignment" Value="Center"/>
140141
<Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/>
141142
<Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/>
142143
<Setter Property="Template">

0 commit comments

Comments
 (0)