Skip to content

Commit a984c4c

Browse files
committed
Set default BorderThickness to 0 to avoid white borders around every Expander
1 parent 1bd64ce commit a984c4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@
219219
</Style>
220220

221221
<Style x:Key="MaterialDesignExpander" TargetType="{x:Type Expander}">
222+
<Setter Property="BorderThickness" Value="0" />
222223
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" />
223224
<Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/>
224225
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>

0 commit comments

Comments
 (0)