Skip to content

Commit db466c2

Browse files
committed
the MaterialDesignUserForegroundCheckBox style for custom checkboxsize
1 parent e6c4e5a commit db466c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.CheckBox.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@
242242
<ColumnDefinition Width="Auto" />
243243
<ColumnDefinition Width="*" />
244244
</Grid.ColumnDefinitions>
245-
<Viewbox Width="18"
246-
Height="18"
245+
<Viewbox Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:CheckBoxAssist.CheckBoxSize)}"
246+
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:CheckBoxAssist.CheckBoxSize)}"
247247
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
248248
FlowDirection="LeftToRight">
249249
<Canvas Width="24" Height="24">

0 commit comments

Comments
 (0)