Skip to content

Commit 88bb74a

Browse files
authored
Merge pull request #616 from mgnslndh/master
Fix broken card in demo
2 parents 7318608 + 7a32eba commit 88bb74a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

MainDemo.Wpf/Cards.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@
8686
</Grid.ColumnDefinitions>
8787
<materialDesign:PackIcon Grid.Column="0" Kind="Clock" VerticalAlignment="Center" Margin="8 4 4 4"/>
8888
<ListBox Grid.Column="1" Style="{StaticResource MaterialDesignToolToggleFlatListBox}" SelectedIndex="0" Margin="4 8 8 4">
89-
<ListBox.Resources>
89+
<ListBox.ItemContainerStyle>
9090
<Style TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource MaterialDesignToolToggleListBoxItem}">
91-
<Setter Property="Padding" Value="4 6 4 6" />
91+
<Setter Property="FontSize" Value="14" />
92+
<Setter Property="Padding" Value="6"/>
9293
</Style>
93-
</ListBox.Resources>
94+
</ListBox.ItemContainerStyle>
9495
<ListBox.ToolTip>
9596
<StackPanel>
9697
<TextBlock Text="MaterialDesignFlatToggleListBox" />

0 commit comments

Comments
 (0)