Skip to content

Commit 04f1326

Browse files
committed
Fixing ColorZone clipping in demo app
1 parent cde5d53 commit 04f1326

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

MainDemo.Wpf/ColorZones.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,10 @@
9090
</smtx:XamlDisplay>
9191

9292
<TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubtitle1TextBlock}">Add in a corner radius and shadow.</TextBlock>
93-
<smtx:XamlDisplay Key="color_zones_primary_dark">
94-
<materialDesign:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="3" materialDesign:ShadowAssist.ShadowDepth="Depth3" Margin="2">
93+
<smtx:XamlDisplay Key="color_zones_primary_dark" Padding="10">
94+
<materialDesign:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="10"
95+
materialDesign:ShadowAssist.ShadowDepth="Depth3"
96+
ClipToBounds="False">
9597
<StackPanel Orientation="Horizontal">
9698
<ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
9799
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock>

0 commit comments

Comments
 (0)