Skip to content

Commit bdef90a

Browse files
committed
2 parents 58da9d3 + f6a09c5 commit bdef90a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

MainDemo.Wpf/Cards.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,11 @@
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.ItemContainerStyle>
89+
<ListBox.Resources>
9090
<Style TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource MaterialDesignToolToggleListBoxItem}">
91-
<Setter Property="FontSize" Value="14" />
92-
<Setter Property="Padding" Value="6"/>
91+
<Setter Property="Padding" Value="4 6 4 6" />
9392
</Style>
94-
</ListBox.ItemContainerStyle>
93+
</ListBox.Resources>
9594
<ListBox.ToolTip>
9695
<StackPanel>
9796
<TextBlock Text="MaterialDesignFlatToggleListBox" />

0 commit comments

Comments
 (0)